|
@@ -8,7 +8,7 @@
|
|
|
<meta name="author" content="i12bretro">
|
|
|
<meta name="description" content="Setting Up SSL for Airsonic on Windows">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
- <meta name="revised" content="04/25/2022 03:11:11 PM" />
|
|
|
+ <meta name="revised" content="10/24/2022 10:24:36 AM" />
|
|
|
<link rel="icon" type="image/x-icon" href="includes/favicon.ico">
|
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
|
<script type="text/javascript" src="includes/js/steps.js"></script>
|
|
@@ -22,7 +22,13 @@
|
|
|
</div>
|
|
|
<div></div>
|
|
|
<div id="content">
|
|
|
- <h2>Create Your SSL Certificate</h2>
|
|
|
+ <h2>Prerequisites</h2>
|
|
|
+
|
|
|
+<ul>
|
|
|
+ <li class="noCheckbox">A XCA PKI database <a href="https://youtu.be/ezzj3x207lQ" target="_blank">https://youtu.be/ezzj3x207lQ</a></li>
|
|
|
+</ul>
|
|
|
+
|
|
|
+<h2>Create Your SSL Certificate</h2>
|
|
|
|
|
|
<ol>
|
|
|
<li>Launch XCA</li>
|
|
@@ -73,27 +79,27 @@
|
|
|
<li>Stop the Apache Tomcat service</li>
|
|
|
<li>Navigate to the Apache Tomcat/conf directory in Explorer</li>
|
|
|
<li>Edit the server.xml file in a text editor</li>
|
|
|
- <li>Comment out the existing connector and paste the following:<br />
|
|
|
- <Connector port="8000"<br />
|
|
|
- protocol="org.apache.coyote.http11.Http11AprProtocol"<br />
|
|
|
- maxThreads="150"<br />
|
|
|
- SSLEnabled="true"<br />
|
|
|
- SSLProtocol="TLS"<br />
|
|
|
- clientAuth="false"<br />
|
|
|
- secure="true"<br />
|
|
|
- scheme="https"<br />
|
|
|
- SSLCertificateFile="G:\xampp\~certificates\airsonic.i12bretro.local.crt"<br />
|
|
|
- SSLCertificateKeyFile="G:\xampp\~certificates\airsonic.i12bretro.local.key"<br />
|
|
|
- SSLCertificateChainFile="G:\xampp\~certificates\ca-chain.pem"<br />
|
|
|
- keyAlias="airsonic.i12bretro.local"<br />
|
|
|
- sslEnabledProtocols="TLSv1.1+TLSv1.2+TLSv1.3"><br />
|
|
|
- <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /><br />
|
|
|
- </Connector></li>
|
|
|
+ <li>Comment out the existing connector and paste the following:
|
|
|
+ <p><Connector port="8000"<br />
|
|
|
+ protocol="org.apache.coyote.http11.Http11AprProtocol"<br />
|
|
|
+ maxThreads="150"<br />
|
|
|
+ SSLEnabled="true"<br />
|
|
|
+ SSLProtocol="TLS"<br />
|
|
|
+ clientAuth="false"<br />
|
|
|
+ secure="true"<br />
|
|
|
+ scheme="https"<br />
|
|
|
+ SSLCertificateFile="G:\xampp\~certificates\airsonic.i12bretro.local.crt"<br />
|
|
|
+ SSLCertificateKeyFile="G:\xampp\~certificates\airsonic.i12bretro.local.key"<br />
|
|
|
+ SSLCertificateChainFile="G:\xampp\~certificates\ca-chain.pem"<br />
|
|
|
+ keyAlias="airsonic.i12bretro.local"<br />
|
|
|
+ sslEnabledProtocols="TLSv1.1+TLSv1.2+TLSv1.3"><br />
|
|
|
+ <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /><br />
|
|
|
+ </Connector></p>
|
|
|
+ </li>
|
|
|
<li>Go back to the Services dialog and start Apache Tomcat</li>
|
|
|
<li>Open a web browser and navigate to https://DNSorIP:8000/airsonic</li>
|
|
|
<li>Airsonic should now be running securely with https using the new certificate</li>
|
|
|
-</ol>
|
|
|
- </div>
|
|
|
+</ol> </div>
|
|
|
</div>
|
|
|
</body>
|
|
|
</html>
|