Editing
Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar) ------------------------------------------------------------ Login to nagios.apoyar β’ cd /usr/local/etc/apache24 β’ vi httpd.conf go to end of the file (Shift+G) Here will get one line βTo renew certbot comment out the above and enable the belowβ So, enable the certbot and disable the nagios Then restart apache β’ apachectl restart Open port 80 on firewall -------------------------- Login to juniper - http://juniper.apoyar/login - Username β root - Password - ap0yar Go to - Security - Policy - Apply policy Look for nagios here and then edit Under application Search for http Select junos_http and click on add And then commit the changes from top menu Go back to nagios.apoyar Run dry run command β’ certbot renew --dry-run NOTE: if you get an error related to apache certbot plugin then install it with below command " pkg install py311-certbot-apache " ( this command version is python3.11 ) if all Ok, then remove dry run and run again β’ certbot renew After renewal, go back and edit httpd.conf β’ cd /usr/local/etc/apache24 β’ vi httpd.conf go to end of the file (Shift+G) now, disable the certbot and enable the nagios Then restart apache β’ apachectl restart check apache port β’ socket -14
Summary:
Please note that all contributions to Apoyar Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Apoyar Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Apoyar Infrastructure
Active Directory
Recent changes
Random page
Upload file
Tools
What links here
Related changes
Special pages
Page information