<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; Letsencrypt Hostname</title>
	<atom:link href="http://wiki.centos-webpanel.com/tag/letsencrypt-hostname/feed" rel="self" type="application/rss+xml" />
	<link>http://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Hostname SSL with Letsencrypt</title>
		<link>http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt</link>
		<comments>http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt#comments</comments>
		<pubDate>Sat, 24 Sep 2016 21:30:06 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Letsencrypt Hostname]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=617</guid>
		<description><![CDATA[Letsencrypt SSL Installation for Hostname - How to guide This is guide for cwp versions 0.9.8.2xx with autoSSL In cwp.admin left menu go to --> CWP Settings --> Change Hostname save there your hostname. SSL will be automatically installed, the only condition is that you have DNS A records set for the hostname. If you [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Letsencrypt SSL Installation for Hostname -  How to guide</strong><br />
This is guide for cwp versions 0.9.8.2xx with autoSSL</p>
<p>In cwp.admin left menu go to --> CWP Settings --> Change Hostname save there your hostname.</p>
<p>SSL will be automatically installed, the only condition is that you have DNS <strong>A</strong> records set for the hostname.<br />
If you don't have an A record for the hostname then CWP will install a self-signed certificate.<br />
<em>Please note that the hostname should be a subdomain and NOT the main domain.</em></p>
<p>For http:// to https:// redirect you can create this htaccess file:<br />
<strong>/usr/local/apache/htdocs/.htaccess</strong></p>
<pre>RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</pre>
<p><em><br />
To disable redirect simply delete that file.</em></p>
<p><strong>Manually or custom certificate</strong><br />
You can also manually replace certificate with your own certificate<br />
<strong>ssl_certificate with bundle (if any):</strong> /etc/pki/tls/certs/hostname.bundle<br />
<strong>ssl_certificate_key:</strong> /etc/pki/tls/private/hostname.key</p>
<p><strong>Pure-FTPd PEM:</strong> /etc/pki/tls/private/hostname.pem<br />
<em>Note that .pem file needs to contain: key, cert, chain-certs</em></p>
<p>this certificate files are used for cwp ports 2031,2087,2302,2304,2096:<br />
Admin panel, user panel, roundcube, phpMyAdmin, phpPgAdmin, cwp api</p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
