<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache on shocksolution.com</title><link>https://shocksolution.com/tags/apache/</link><description>Recent content in Apache on shocksolution.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 30 Nov 2021 03:20:26 +0000</lastBuildDate><atom:link href="https://shocksolution.com/tags/apache/index.xml" rel="self" type="application/rss+xml"/><item><title>Using SSL Certificates with the Apache Tomcat Web Server</title><link>https://shocksolution.com/posts/using-ssl-certificates-with-the-apache-tomcat-web-server/</link><pubDate>Tue, 30 Nov 2021 03:20:26 +0000</pubDate><guid>https://shocksolution.com/posts/using-ssl-certificates-with-the-apache-tomcat-web-server/</guid><description>&lt;h2 id="creating-pkcs12-files"&gt;Creating PKCS12 Files&lt;/h2&gt;&#10;&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/PKCS_12"&gt;PKCS #12&lt;/a&gt; is a format for storing multiple cryptography objects in a single archive file. You can store arbitrarily complex objects within a PKCS #12 archive, but the most common use is to store a single private key and its certificate chain. Create a PKCS12 file from PEM files:&lt;/p&gt;&#10;&lt;div class="code-block"&gt;&#10; &lt;button class="code-copy" type="button" hidden aria-label="Copy code to clipboard"&gt;&#10; &lt;span class="code-copy-label" aria-hidden="true"&gt;Copy&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;openssl pkcs12 -export -in ssl_cert.pem -inkey key.pem -certfile bundle.crt -name &amp;#34;*.example.com&amp;#34; -out example.com.p12&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;/div&gt;&lt;p&gt;Depending on the product you&amp;rsquo;re working with, the documentation may call for a .pfx file instead of a .p12 file. PFX is an older format that was a predecessor to PKCS #12. In most modern systems, A PFX FILE AND A P12 FILE ARE EXACTLY THE SAME THING! You can just change the extension if needed and that will generally work. For example, the &lt;a href="https://shocksolution.com/2020/11/11/use-an-ssl-tls-certificate-with-eset-security-management-center-appliance/" title="Use%20an%20SSL/TLS%20Certificate%20with%20ESET%20Security%20Management%20Center%20Appliance"&gt;docs for ESET Security Management Center call for a pfx file, but a PKCS12 file will work just fine&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>