<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	〈如何使用certbot自動更新SSL憑證 (CentOS 6,7,8, Ubuntu)〉的留言	</title>
	<atom:link href="https://www.brilliantcode.net/941/how-to-renew-ssl-certificates-automatically-by-certbot/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.brilliantcode.net/941/how-to-renew-ssl-certificates-automatically-by-certbot/</link>
	<description></description>
	<lastBuildDate>Thu, 23 Apr 2020 15:02:42 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.3</generator>
			<item>
				<title>
				留言者: Andy Wang				</title>
				<link>https://www.brilliantcode.net/941/how-to-renew-ssl-certificates-automatically-by-certbot/#comment-38</link>
		<dc:creator><![CDATA[Andy Wang]]></dc:creator>
		<pubDate>Sat, 05 May 2018 15:35:22 +0000</pubDate>
		<guid isPermaLink="false">https://www.brilliantcode.net/?p=941#comment-38</guid>
					<description><![CDATA[問題1＋問題2：&lt;strong&gt;假設你的apache站台只會有這個網站&lt;/strong&gt;『xoops2.cdps.ntpc.edu.tw』，其實短時間內想完成這件事，你可以直接用下列指令來滿足你的需求！
依據上述條件來提供給你的做法是取消『僅申請憑證』選項『certonly』，若不加此選項，certbot預設會自動幫你修改ssl.conf，也就是會自動幫你做“Step 3”！
&lt;code&gt;sudo certbot --apache -w /var/www/html/ -d xoops2.cdps.ntpc.edu.tw&lt;/code&gt;


&lt;strong&gt;倘若你的伺服器已經有其他站台&lt;/strong&gt;，同時也存在前人做好的設定，就不建議讓certbot自動幫你做設定！所以要加上『certonly』！
如果對ssl.conf『/etc/httpd/conf.d/ssl.conf』不太了解，建議你可以來看一下這篇：&lt;a href=&quot;https://www.brilliantcode.net/348/apache-2-4-multi-domain-ssl-https/&quot; target=&quot;_blank&quot;&gt;Apache 2.4 https 多網域設定 讓一台伺服器綁定多個網址&lt;/a&gt;
或者是看一下這篇：&lt;a href=&quot;https://www.brilliantcode.net/450/centos-7-setup-apache-2-4-mysql-5-7-php-7-phpmyadmin-ssh-sftp/&quot; target=&quot;_blank&quot;&gt;CentOS 7 架站教學彙整 (Apache 2.4 + MySQL 5.7 + php 7 + phpMyAdmin + SSH + sFTP)&lt;/a&gt;裡面有一區是『SSL相關教學』 :D]]></description>
		<content:encoded><![CDATA[<p>問題1＋問題2：<strong>假設你的apache站台只會有這個網站</strong>『xoops2.cdps.ntpc.edu.tw』，其實短時間內想完成這件事，你可以直接用下列指令來滿足你的需求！<br />
依據上述條件來提供給你的做法是取消『僅申請憑證』選項『certonly』，若不加此選項，certbot預設會自動幫你修改ssl.conf，也就是會自動幫你做“Step 3”！<br />
<code>sudo certbot --apache -w /var/www/html/ -d xoops2.cdps.ntpc.edu.tw</code></p>
<p><strong>倘若你的伺服器已經有其他站台</strong>，同時也存在前人做好的設定，就不建議讓certbot自動幫你做設定！所以要加上『certonly』！<br />
如果對ssl.conf『/etc/httpd/conf.d/ssl.conf』不太了解，建議你可以來看一下這篇：<a href="https://www.brilliantcode.net/348/apache-2-4-multi-domain-ssl-https/" target="_blank">Apache 2.4 https 多網域設定 讓一台伺服器綁定多個網址</a><br />
或者是看一下這篇：<a href="https://www.brilliantcode.net/450/centos-7-setup-apache-2-4-mysql-5-7-php-7-phpmyadmin-ssh-sftp/" target="_blank">CentOS 7 架站教學彙整 (Apache 2.4 + MySQL 5.7 + php 7 + phpMyAdmin + SSH + sFTP)</a>裡面有一區是『SSL相關教學』 😀</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				留言者: 辛苦MIS				</title>
				<link>https://www.brilliantcode.net/941/how-to-renew-ssl-certificates-automatically-by-certbot/#comment-37</link>
		<dc:creator><![CDATA[辛苦MIS]]></dc:creator>
		<pubDate>Sat, 05 May 2018 12:32:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.brilliantcode.net/?p=941#comment-37</guid>
					<description><![CDATA[問題1：關於step 2
-d：網域名稱，如果是www開頭的話，還得多指定一個去掉“www”的網址(就像本範例這樣)
sudo certbot --apache certonly -w /var/www/html/ -d www.brilliantcode.net -d brilliantcode.net
---------------------------------------------------------------------------------------------------------------------------------------
想問
若網址是xoops2.cdps.ntpc.edu.tw的話，在-d後面的指令是這樣嗎？還是？
sudo certbot --apache certonly -w /var/www/html/ -d xoops2.cdps.ntpc.edu.tw -d cdps.ntpc.edu.tw

問題2：關於step 3
修改apache config，如果你跟我一樣，之前都是自己手動申請，那就必須修改config檔！
-----------------------------------------------------------------------------------------------------
想問，若是第一次申請設定，之前都沒申請過，step3還要做嗎？

謝謝您~]]></description>
		<content:encoded><![CDATA[<p>問題1：關於step 2<br />
-d：網域名稱，如果是www開頭的話，還得多指定一個去掉“www”的網址(就像本範例這樣)<br />
sudo certbot &#8211;apache certonly -w /var/www/html/ -d <a href="http://www.brilliantcode.net" rel="nofollow">http://www.brilliantcode.net</a> -d brilliantcode.net<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
想問<br />
若網址是xoops2.cdps.ntpc.edu.tw的話，在-d後面的指令是這樣嗎？還是？<br />
sudo certbot &#8211;apache certonly -w /var/www/html/ -d xoops2.cdps.ntpc.edu.tw -d cdps.ntpc.edu.tw</p>
<p>問題2：關於step 3<br />
修改apache config，如果你跟我一樣，之前都是自己手動申請，那就必須修改config檔！<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
想問，若是第一次申請設定，之前都沒申請過，step3還要做嗎？</p>
<p>謝謝您~</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				留言者: Andy W.				</title>
				<link>https://www.brilliantcode.net/941/how-to-renew-ssl-certificates-automatically-by-certbot/#comment-29</link>
		<dc:creator><![CDATA[Andy W.]]></dc:creator>
		<pubDate>Fri, 20 Apr 2018 16:20:26 +0000</pubDate>
		<guid isPermaLink="false">https://www.brilliantcode.net/?p=941#comment-29</guid>
					<description><![CDATA[Hi PIN,
如果你的作業系統也是使用CentOS，不妨安裝&quot;certbot&quot;看看！

certbot是包在EPEL這個Repository裡面，如果還是找不到，可以先安裝Repository: EPEL！
下列是certbot的資訊：
Installed Packages
Name        : certbot
Arch        : noarch
Version     : 0.22.2
Release     : 1.el7
Size        : 23 k
Repo        : installed
From repo   : epel
Summary     : A free, automated certificate authority client
URL         : https://pypi.python.org/pypi/certbot
License     : ASL 2.0
Description : certbot is a free, automated certificate authority that aims
            : to lower the barriers to entry for encrypting all HTTP traffic on the internet.]]></description>
		<content:encoded><![CDATA[<p>Hi PIN,<br />
如果你的作業系統也是使用CentOS，不妨安裝&#8221;certbot&#8221;看看！</p>
<p>certbot是包在EPEL這個Repository裡面，如果還是找不到，可以先安裝Repository: EPEL！<br />
下列是certbot的資訊：<br />
Installed Packages<br />
Name        : certbot<br />
Arch        : noarch<br />
Version     : 0.22.2<br />
Release     : 1.el7<br />
Size        : 23 k<br />
Repo        : installed<br />
From repo   : epel<br />
Summary     : A free, automated certificate authority client<br />
URL         : <a href="https://pypi.python.org/pypi/certbot" rel="nofollow">https://pypi.python.org/pypi/certbot</a><br />
License     : ASL 2.0<br />
Description : certbot is a free, automated certificate authority that aims<br />
            : to lower the barriers to entry for encrypting all HTTP traffic on the internet.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				留言者: Pin				</title>
				<link>https://www.brilliantcode.net/941/how-to-renew-ssl-certificates-automatically-by-certbot/#comment-28</link>
		<dc:creator><![CDATA[Pin]]></dc:creator>
		<pubDate>Fri, 20 Apr 2018 08:15:24 +0000</pubDate>
		<guid isPermaLink="false">https://www.brilliantcode.net/?p=941#comment-28</guid>
					<description><![CDATA[# sudo yum install certbot-apache
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.uhost.hk
 * extras: centos.uhost.hk
 * updates: centos.uhost.hk
No package certbot-apache available.


Hi,
我不能用yum安裝certbot，原因是找不到packet，請問有方法嗎？

thanks

PIN]]></description>
		<content:encoded><![CDATA[<p># sudo yum install certbot-apache<br />
Failed to set locale, defaulting to C<br />
Loaded plugins: fastestmirror<br />
Loading mirror speeds from cached hostfile<br />
 * base: centos.uhost.hk<br />
 * extras: centos.uhost.hk<br />
 * updates: centos.uhost.hk<br />
No package certbot-apache available.</p>
<p>Hi,<br />
我不能用yum安裝certbot，原因是找不到packet，請問有方法嗎？</p>
<p>thanks</p>
<p>PIN</p>
]]></content:encoded>
						</item>
			</channel>
</rss>
