<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ledhed.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Create_a_Certificate_Bundle</id>
		<title>Create a Certificate Bundle - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Create_a_Certificate_Bundle"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Create_a_Certificate_Bundle&amp;action=history"/>
		<updated>2026-04-23T06:01:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Create_a_Certificate_Bundle&amp;diff=3493&amp;oldid=prev</id>
		<title>Ledhed: Created page with &quot;== Overview == Nginx (and probably other web servers) wants a certificate bundle when using certificate signed by a Root Certificate Authority. This article will explain how t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Create_a_Certificate_Bundle&amp;diff=3493&amp;oldid=prev"/>
				<updated>2020-10-14T02:05:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview == Nginx (and probably other web servers) wants a certificate bundle when using certificate signed by a Root Certificate Authority. This article will explain how t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
Nginx (and probably other web servers) wants a certificate bundle when using certificate signed by a Root Certificate Authority. This article will explain how to set one up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Basics ==&lt;br /&gt;
Its outside the scope of this article to explain how to generate SSL/TLS certificates. There are plenty of OpenSSL examples floating around.&lt;br /&gt;
&lt;br /&gt;
In a nut shell, a bundled certificate is just that, a group of certificates in one file. The order of that bundle should be like this:&lt;br /&gt;
 -----BEGIN CERTIFICATE-----&lt;br /&gt;
 (host.pem)&lt;br /&gt;
 -----END CERTIFICATE-----&lt;br /&gt;
 -----BEGIN CERTIFICATE-----&lt;br /&gt;
 (intermediate.pem)&lt;br /&gt;
 -----END CERTIFICATE-----&lt;br /&gt;
 -----BEGIN CERTIFICATE-----&lt;br /&gt;
 (root.pem)&lt;br /&gt;
 -----END CERTIFICATE-----&lt;br /&gt;
&lt;br /&gt;
Assuming you have the files: host.pem, intermediate.pem, root.pem&lt;br /&gt;
 cat host.pem internediate.pem root.pem &amp;gt; host_bundle.pem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Nginx ==&lt;br /&gt;
Its beyond the scope of this article to explain how to setup Nginx for SSL/TLS, but here are the relevant lines on how to access the server's private key and certificate bundle:&lt;br /&gt;
         ssl_certificate /etc/ssl/private/host_bundle.pem;&lt;br /&gt;
         ssl_certificate_key /etc/ssl/private/server.key;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
https://www.digicert.com/kb/ssl-support/pem-ssl-creation.htm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]][[Category:nginx]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>