You need to verify by dns, that’s what I read anyway.
I was doing this from ubuntu 18.04
Install certbot:
sudo add-apt-repository ppa:certbot/certbot
sudo apt install python-certbot-apache
Oneliners
- Certbot certonly –manual –preferred-challenges=dns –email roger.bergling@invid.se –server https://acme-v02.api.letsencrypt.org/directory –agree-tos -d *.portal.jkp.invid.se
- Add DNS txt vaule, you get this from above command
- Convert cert to p12: openssl pkcs12 -export -inkey privkey.pem -in fullchain.pem -out portal.p12
private key to pem
openssl rsa -in private.key -text > private.pem
openssl pkcs12 -export -inkey privkey.pem -in fullchain.pem -out portal.p12
Convert crt private key to pem
openssl rsa -in private.key -text > private.pem
Convert crt with private key to p12
all.crt contains certificate and ca and intermediate
openssl pkcs12 -export -inkey private.pem -in all.crt -out mg.p12
Leave a Reply