<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.apoyar.eu/index.php?action=history&amp;feed=atom&amp;title=Renewing_Letsencrypt_Certificate_for_Free_BSD_%28nagios.apoyar%29</id>
	<title>Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apoyar.eu/index.php?action=history&amp;feed=atom&amp;title=Renewing_Letsencrypt_Certificate_for_Free_BSD_%28nagios.apoyar%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Renewing_Letsencrypt_Certificate_for_Free_BSD_(nagios.apoyar)&amp;action=history"/>
	<updated>2026-07-20T13:58:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Renewing_Letsencrypt_Certificate_for_Free_BSD_(nagios.apoyar)&amp;diff=302&amp;oldid=prev</id>
		<title>Admin at 13:58, 31 August 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Renewing_Letsencrypt_Certificate_for_Free_BSD_(nagios.apoyar)&amp;diff=302&amp;oldid=prev"/>
		<updated>2024-08-31T13:58:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:58, 31 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;•	certbot renew  --dry-run&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;•	certbot renew  --dry-run&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;NOTE: if you get an error related to apache certbot plugin then install it with below command &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &quot; pkg install py311-certbot-apache &quot; ( this command version is python3.11 )&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if all Ok, then remove dry run and run again&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if all Ok, then remove dry run and run again&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=Renewing_Letsencrypt_Certificate_for_Free_BSD_(nagios.apoyar)&amp;diff=208&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar) ------------------------------------------------------------  Login to nagios.apoyar   •	cd /usr/local/etc/apac...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=Renewing_Letsencrypt_Certificate_for_Free_BSD_(nagios.apoyar)&amp;diff=208&amp;oldid=prev"/>
		<updated>2021-07-27T05:50:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar) ------------------------------------------------------------  Login to nagios.apoyar   •	cd /usr/local/etc/apac...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Renewing Letsencrypt Certificate for Free BSD (nagios.apoyar)&lt;br /&gt;
------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Login to nagios.apoyar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
•	cd /usr/local/etc/apache24&lt;br /&gt;
&lt;br /&gt;
•	vi httpd.conf&lt;br /&gt;
&lt;br /&gt;
go to end of the file (Shift+G)&lt;br /&gt;
&lt;br /&gt;
Here will get one line “To renew certbot comment out the above and enable the below”&lt;br /&gt;
&lt;br /&gt;
So, enable the certbot and disable the nagios&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then restart apache&lt;br /&gt;
&lt;br /&gt;
•	apachectl restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open port 80 on firewall&lt;br /&gt;
--------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Login to juniper - http://juniper.apoyar/login&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Username – root&lt;br /&gt;
&lt;br /&gt;
- Password - ap0yar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to&lt;br /&gt;
&lt;br /&gt;
- Security&lt;br /&gt;
&lt;br /&gt;
- Policy&lt;br /&gt;
&lt;br /&gt;
- Apply policy&lt;br /&gt;
&lt;br /&gt;
Look for nagios here and then edit&lt;br /&gt;
&lt;br /&gt;
Under application&lt;br /&gt;
&lt;br /&gt;
Search for http&lt;br /&gt;
&lt;br /&gt;
Select junos_http and click on add&lt;br /&gt;
&lt;br /&gt;
And then commit the changes from top menu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go back to nagios.apoyar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run dry run command&lt;br /&gt;
&lt;br /&gt;
•	certbot renew  --dry-run&lt;br /&gt;
&lt;br /&gt;
if all Ok, then remove dry run and run again&lt;br /&gt;
&lt;br /&gt;
•	certbot renew&lt;br /&gt;
&lt;br /&gt;
After renewal, go back and edit httpd.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
•	cd /usr/local/etc/apache24&lt;br /&gt;
&lt;br /&gt;
•	vi httpd.conf&lt;br /&gt;
&lt;br /&gt;
go to end of the file (Shift+G)&lt;br /&gt;
&lt;br /&gt;
now, disable the certbot and enable the nagios&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then restart apache&lt;br /&gt;
&lt;br /&gt;
•	apachectl restart&lt;br /&gt;
&lt;br /&gt;
check apache port&lt;br /&gt;
•	socket -14&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>