<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://halfface.se/wiki/index.php?action=history&amp;feed=atom&amp;title=LetsEncrypt</id>
	<title>LetsEncrypt - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://halfface.se/wiki/index.php?action=history&amp;feed=atom&amp;title=LetsEncrypt"/>
	<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=LetsEncrypt&amp;action=history"/>
	<updated>2026-04-19T08:56:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=LetsEncrypt&amp;diff=12795&amp;oldid=prev</id>
		<title>Ekaanbj at 23:10, 6 January 2017</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=LetsEncrypt&amp;diff=12795&amp;oldid=prev"/>
		<updated>2017-01-06T23:10:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Lets encrypt for Fedora. https://fedoramagazine.org/letsencrypt-now-available-fedora/&lt;br /&gt;
&lt;br /&gt;
=Had to remove manually installed python modules=&lt;br /&gt;
 \rm -r /usr/lib/python2.7/site-packages/requests/packages/*&lt;br /&gt;
&lt;br /&gt;
=Install letsencrypt= &lt;br /&gt;
 sudo dnf -y install letsencrypt&lt;br /&gt;
&lt;br /&gt;
=manually create certs. Verify that all goes well=&lt;br /&gt;
 letsencrypt --text --email anden@halfface.se \&lt;br /&gt;
 --domains www.halfface.se,halfface.se,ldap.halfface.se \&lt;br /&gt;
 --agree-tos --renew-by-default --manual certonly&lt;br /&gt;
&lt;br /&gt;
=Automated updates. Web root verification=&lt;br /&gt;
 letsencrypt --text --renew-by-default --email anden@halfface.se \&lt;br /&gt;
 --domains www.halfface.se,halfface.se,ldap.halfface.se \&lt;br /&gt;
 --agree-tos --webroot --webroot-path /var/www/html/www-halfface certonly&lt;br /&gt;
&lt;br /&gt;
=Fix selinux.=&lt;br /&gt;
 semanage fcontext -a -t cert_t &amp;#039;/etc/letsencrypt/(archive|live)(/.*)?&amp;#039;&lt;br /&gt;
 restorecon -Rv /etc/letsencrypt&lt;br /&gt;
&lt;br /&gt;
=Link to certs in proper location.=&lt;br /&gt;
 ln -s /etc/letsencrypt/live/www.halfface.se/cert.pem /etc/pki/tls/certs/www.halfface.se.crt&lt;br /&gt;
 ln -s /etc/letsencrypt/live/www.halfface.se/chain.pem /etc/pki/tls/certs/www.halfface.se.chain.crt&lt;br /&gt;
 ln -s /etc/letsencrypt/live/www.halfface.se/privkey.pem /etc/pki/tls/private/www.halfface.se.key&lt;br /&gt;
&lt;br /&gt;
=Add correct paths to certs in http config.=&lt;br /&gt;
 SSLCertificateFile /etc/pki/tls/certs/www.halfface.se.crt&lt;br /&gt;
 SSLCertificateKeyFile /etc/pki/tls/private/www.halfface.se.key&lt;br /&gt;
 SSLCertificateChainFile /etc/pki/tls/certs/www.halfface.se.chain.crt&lt;br /&gt;
&lt;br /&gt;
=Remove old certs.=&lt;br /&gt;
 rm -r /etc/httpd/ssl/&lt;br /&gt;
&lt;br /&gt;
=restart to take effect.=&lt;br /&gt;
 systemctl restart httpd&lt;/div&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
</feed>