Install new SSL using certbot-auto command at Apache server

sudo certbot-auto certonly --apache -d example.net -d www.example.net

After this in which i need to put below files-

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem

Thanks

Hi @drupaldev

what’s now your question?

Perhaps don’t use certonly, then Certbot should create the vHost with the correct entries.

certonly -> you have to do that manual.

which steps we need to do manually?

Thankyou

What's your setup?


Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

Hi @JuergenAuer,
Thanks for quick reply.
I have done with the “certbot”, so it’s working fine.

Thanks again!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.