<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ipbrick.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ipbrick.com/index.php?action=history&amp;feed=atom&amp;title=Generate_Let%27s_Encrypts_certs_for_IPBrick</id>
		<title>Generate Let's Encrypts certs for IPBrick - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ipbrick.com/index.php?action=history&amp;feed=atom&amp;title=Generate_Let%27s_Encrypts_certs_for_IPBrick"/>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=Generate_Let%27s_Encrypts_certs_for_IPBrick&amp;action=history"/>
		<updated>2026-05-13T13:20:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>https://wiki.ipbrick.com/index.php?title=Generate_Let%27s_Encrypts_certs_for_IPBrick&amp;diff=1068&amp;oldid=prev</id>
		<title>Hrocha at 17:40, 24 April 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=Generate_Let%27s_Encrypts_certs_for_IPBrick&amp;diff=1068&amp;oldid=prev"/>
				<updated>2019-04-24T17:40:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:40, 24 April 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5 Generate the certs with the command:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5 Generate the certs with the command:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; /etc/init.d/apache2 stop&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; /etc/init.d/apache2 stop&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; /home1/_locals/operator/certbot-auto certonly --standalone -d ucoip.domain.com -d webrtcproxy.domain.com -d .....&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; /home1/_locals/operator/certbot-auto certonly --standalone &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;--no-self-upgrade &lt;/ins&gt;-d ucoip.domain.com -d webrtcproxy.domain.com -d .....&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; /etc/init.d/apache2 start&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; /etc/init.d/apache2 start&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; The cert will be created on folder: /etc/letsencrypt/live&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; The cert will be created on folder: /etc/letsencrypt/live&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; echo &amp;quot;***********&amp;quot; $(date +&amp;quot;%m-%d-%Y - %H:%M&amp;quot;) &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; echo &amp;quot;***********&amp;quot; $(date +&amp;quot;%m-%d-%Y - %H:%M&amp;quot;) &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; /etc/init.d/apache2 stop &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; /etc/init.d/apache2 stop &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; /home1/_locals/operator/certbot-auto renew &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&amp;#160; &amp;#160; /home1/_locals/operator/certbot-auto &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;--no-self-upgrade &lt;/ins&gt;renew &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; cp /etc/letsencrypt/live/ucoip.domain.com/privkey.pem /opt/ucoip/site/rtc/signalmaster/ssl/private.key &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; cp /etc/letsencrypt/live/ucoip.domain.com/privkey.pem /opt/ucoip/site/rtc/signalmaster/ssl/private.key &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; cp /etc/letsencrypt/live/ucoip.domain.com/cert.pem /opt/ucoip/site/rtc/signalmaster/ssl/certificate.crt &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; cp /etc/letsencrypt/live/ucoip.domain.com/cert.pem /opt/ucoip/site/rtc/signalmaster/ssl/certificate.crt &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hrocha</name></author>	</entry>

	<entry>
		<id>https://wiki.ipbrick.com/index.php?title=Generate_Let%27s_Encrypts_certs_for_IPBrick&amp;diff=1067&amp;oldid=prev</id>
		<title>Hrocha at 17:38, 24 April 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=Generate_Let%27s_Encrypts_certs_for_IPBrick&amp;diff=1067&amp;oldid=prev"/>
				<updated>2019-04-24T17:38:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:38, 24 April 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To generate a certificate you must do the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To generate a certificate you must do the following:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1 Install certbot-auto &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(eg&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;on &lt;/del&gt;/home1/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;_locals&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;operator)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;1 Install certbot-auto &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;v0&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;31.0 (ONLY THIS VERSION IS SUPPORTED IN IPBRICK OS)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/del&gt;wget https://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dl&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;eff&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;org&lt;/del&gt;/certbot-auto&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  mkdir &lt;/ins&gt;/home1/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;_letsencrypt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/del&gt;chmod a+x certbot-auto&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  cd &lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;home1/_letsencrypt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &lt;/ins&gt;wget https://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ipbcloud&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ipbrick&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;index.php/s/SxHtunjaWXEfOBf/download -O &lt;/ins&gt;certbot-auto&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &lt;/ins&gt;chmod a+x certbot-auto&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; More info on https://certbot.eff.org/#debianwheezy-other&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; More info on https://certbot.eff.org/#debianwheezy-other&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hrocha</name></author>	</entry>

	<entry>
		<id>https://wiki.ipbrick.com/index.php?title=Generate_Let%27s_Encrypts_certs_for_IPBrick&amp;diff=1019&amp;oldid=prev</id>
		<title>Amachado: Created page with &quot;To generate a certificate you must do the following:  1 Install certbot-auto (eg. on /home1/_locals/operator)     wget https://dl.eff.org/certbot-auto     chmod a+x certbot-au...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=Generate_Let%27s_Encrypts_certs_for_IPBrick&amp;diff=1019&amp;oldid=prev"/>
				<updated>2018-03-01T18:33:42Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;To generate a certificate you must do the following:  1 Install certbot-auto (eg. on /home1/_locals/operator)     wget https://dl.eff.org/certbot-auto     chmod a+x certbot-au...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To generate a certificate you must do the following:&lt;br /&gt;
&lt;br /&gt;
1 Install certbot-auto (eg. on /home1/_locals/operator)&lt;br /&gt;
    wget https://dl.eff.org/certbot-auto&lt;br /&gt;
    chmod a+x certbot-auto&lt;br /&gt;
&lt;br /&gt;
    More info on https://certbot.eff.org/#debianwheezy-other&lt;br /&gt;
&lt;br /&gt;
2 Change the virtualhosts that will require certificates and write protect them:&lt;br /&gt;
        eg. 200-200-light.domain.com&lt;br /&gt;
        Insert lines:&lt;br /&gt;
          SSLCertificateFile /etc/letsencrypt/live/ucoip.domain.com/cert.pem&lt;br /&gt;
          SSLCertificateKeyFile /etc/letsencrypt/live/ucoip.domain.com/privkey.pem&lt;br /&gt;
          SSLCertificateChainFile /etc/letsencrypt/live/ucoip.domain.com/chain.pem&lt;br /&gt;
&lt;br /&gt;
        Write protect the files: eg. chattr +i 200-200-light.domain.com&lt;br /&gt;
&lt;br /&gt;
3 If you want to use CAFE Phone or UCoIP Page WebPhone you need:&lt;br /&gt;
        Change file /etc/webrtc2sip/config.xml&lt;br /&gt;
        Modify ssl-certificates section:&lt;br /&gt;
          &amp;lt;ssl-certificates&amp;gt;&lt;br /&gt;
              /etc/letsencrypt/live/ucoip.domain.com/privkey.pem;&lt;br /&gt;
              /etc/letsencrypt/live/ucoip.domain.com/cert.pem;&lt;br /&gt;
              *;&lt;br /&gt;
          &amp;lt;/ssl-certificates&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        Restart service webrtc2sip:&lt;br /&gt;
          /etc/init.d/webrtc2sip stop&lt;br /&gt;
          /etc/init.d/webrtc2sip start&lt;br /&gt;
&lt;br /&gt;
        Write protect the file: eg. chattr +i /etc/webrtc2sip/config.xml&lt;br /&gt;
&lt;br /&gt;
4 If you want to use UCoIP/CAFE Video Conference (WebRTC ) you need:&lt;br /&gt;
        Copy certs into folder /opt/ucoip/site/rtc/signalmaster/ssl and create an empty ca.crt&lt;br /&gt;
            cp /etc/letsencrypt/live/ucoip.domain/privkey.pem /opt/ucoip/site/rtc/signalmaster/ssl/private.key&lt;br /&gt;
            cp /etc/letsencrypt/live/ucoip.domain.com/cert.pem /opt/ucoip/site/rtc/signalmaster/ssl/certificate.crt&lt;br /&gt;
            touch /opt/ucoip/site/rtc/signalmaster/ssl/ca.crt&lt;br /&gt;
 &lt;br /&gt;
        Change permissons and restart service:&lt;br /&gt;
            chown webrtc.webrtc /opt/ucoip/site/rtc/signalmaster/ssl/*&lt;br /&gt;
            /etc/init.d/webrtc_signal stop&lt;br /&gt;
            /etc/init.d/webrtc_signal start&lt;br /&gt;
&lt;br /&gt;
5 Generate the certs with the command:&lt;br /&gt;
        /etc/init.d/apache2 stop&lt;br /&gt;
        /home1/_locals/operator/certbot-auto certonly --standalone -d ucoip.domain.com -d webrtcproxy.domain.com -d .....&lt;br /&gt;
        /etc/init.d/apache2 start&lt;br /&gt;
        The cert will be created on folder: /etc/letsencrypt/live&lt;br /&gt;
&lt;br /&gt;
6 Create a script to renew the cert and call the command on cron.d (Certificates valid for 90 days)&lt;br /&gt;
    Script (eg. /home1/_locals/operator/renewcerts.sh)&lt;br /&gt;
    #!/bin/sh&lt;br /&gt;
    echo &amp;quot;***********&amp;quot; $(date +&amp;quot;%m-%d-%Y - %H:%M&amp;quot;) &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
    /etc/init.d/apache2 stop &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
    /home1/_locals/operator/certbot-auto renew &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
    cp /etc/letsencrypt/live/ucoip.domain.com/privkey.pem /opt/ucoip/site/rtc/signalmaster/ssl/private.key &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
    cp /etc/letsencrypt/live/ucoip.domain.com/cert.pem /opt/ucoip/site/rtc/signalmaster/ssl/certificate.crt &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
    /etc/init.d/apache2 start &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
    /etc/init.d/webrtc_signal stop &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
    /etc/init.d/webrtc_signal start &amp;gt;&amp;gt; /var/log/le-renew.log&lt;br /&gt;
&lt;br /&gt;
7. Place the script in cron.d and add execution permissions to this script&lt;br /&gt;
    vi /etc/cron.d/letsencrypt &lt;br /&gt;
    01 04 */15 * * root /home1/_locals/operator/renewcerts.sh&lt;br /&gt;
    ipbrick:~# ls -la /etc/cron.d/letsencrypt &lt;br /&gt;
    -rw-r--r-- 1 root root 58 Feb 23 16:15 /etc/cron.d/letsencrypt&lt;br /&gt;
&lt;br /&gt;
     chmod 755 /home1/_locals/operator/renewcerts.sh&lt;/div&gt;</summary>
		<author><name>Amachado</name></author>	</entry>

	</feed>