How to run the apache plugin for installation only?

My domain is:
truxitup.com

I ran this command:
sudo certbot --apache certonly

It produced this output:
Which names would you like to activate HTTPS for?


1: truxitup.com
2: www.truxitup.com


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for truxitup.com
http-01 challenge for www.truxitup.com
Waiting for verification…
Cleaning up challenges

IMPORTANT NOTES:

  • Congratulations! Your certificate and chain have been saved at:
    /etc/letsencrypt/live/truxitup.com/fullchain.pem
    Your key file has been saved at:
    /etc/letsencrypt/live/truxitup.com/privkey.pem
    Your cert will expire on 2019-07-31. To obtain a new or tweaked
    version of this certificate in the future, simply run certbot
    again. To non-interactively renew all of your certificates, run
    “certbot renew”

  • Your account credentials have been saved in your Certbot
    configuration directory at /etc/letsencrypt. You should make a
    secure backup of this folder now. This configuration directory will
    also contain certificates and private keys obtained by Certbot so
    making regular backups of this folder is ideal.

  • If you like Certbot, please consider supporting our work by:

    Donating to ISRG / Let’s Encrypt: https://letsencrypt.org/donate
    Donating to EFF: https://eff.org/donate-le

My web server is (include version):
Apache/2.4.34

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

My hosting provider, if applicable, is:

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

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

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

Hello, I did not receive an error this round. But, no -ssl.conf files were created due to running sudo certbot --apache certonly.

What command should I run next? IE is there a command to only run the apache plugin for installation?

Should I just run: sudo certbot --apache?

I wanted to make sure the next command was the correct one given I already have a successful creation of a certificate.

Thanks in advance!
-Braden

Hi @btokoly

yes, that's possible.

Or use

certbot --apache -d truxitup.com -d www.truxitup.com

Normally, Certbot should find the certificate and should ask, if you want to install that.

YESSSSSSSSSS!

IT WORKED!!!

I will be updating my previous thread with pertinent information.

Thank you! -Braden

2 Likes

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