Browse Source

0170: Create and Apply SSL Certificate to DD-WRT Web Interface

i12bretro 2 years ago
parent
commit
cb70b1a984
1 changed files with 12 additions and 7 deletions
  1. 12 7
      0170.html

+ 12 - 7
0170.html

@@ -8,7 +8,7 @@
         <meta name="author" content="i12bretro">
         <meta name="description" content="Create and Apply SSL Certificate to DD-WRT Web Interface">
         <meta name="viewport" content="width=device-width, initial-scale=1.0">
-        <meta name="revised" content="05/23/2022 08:46:23 PM" />
+        <meta name="revised" content="10/24/2022 10:36:21 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">
-          <p><em>Note: You may need to enable JFFS2 support under Administration &gt;&nbsp;Management &gt;&nbsp;JFFS2 Support to have a usable /jffs location</em></p>
+          <p><em>Note: You may need to enable JFFS2 support under Administration &gt; Management &gt; JFFS2 Support to have a usable /jffs location</em></p>
+
+<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>
 
@@ -64,7 +70,7 @@
 <ol>
 	<li>In XCA, click on the Certificates tab</li>
 	<li>Right click the SSL certificate &gt; Export &gt; File</li>
-	<li>Set the file name to cert.pem&nbsp;verify the export format is PEM (*.crt)</li>
+	<li>Set the file name to cert.pem verify the export format is PEM (*.crt)</li>
 	<li>Click OK</li>
 	<li>Click the Private Keys tab</li>
 	<li>Right click the private key generated for the SSL certificate &gt; Export &gt; File</li>
@@ -91,7 +97,7 @@
 	<li>Scroll down and click the Reboot Router</li>
 	<li>Wait for DD-WRT to come back up</li>
 	<li>Download PuTTY <a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" target="_blank">Download</a></li>
-	<li>Connect to DD-WRT&nbsp;via PuTTY</li>
+	<li>Connect to DD-WRT via PuTTY</li>
 	<li>Execute the following commands to create the working directories
 	<div class="codeBlock">cd /jffs<br />
 	mkdir etc<br />
@@ -104,7 +110,7 @@
 	<li>Navigate to /jffs/etc</li>
 	<li>Copy the created cert.pem and key.pem to /jffs/etc</li>
 	<li>Navigate to /jffs/startup</li>
-	<li>Copy the downloaded&nbsp;binds_on_mount.sh</li>
+	<li>Copy the downloaded binds_on_mount.sh</li>
 	<li>Back in PuTTY, execute the following commands
 	<div class="codeBlock">cd /jffs/startup<br />
 	# make binds_on_mount.sh executable<br />
@@ -139,8 +145,7 @@ nvram set httpd_enable=1<br />
 nvram set http_enable=1</p>
 
 <p>Special thanks to the DD-WRT forums and alexandrusavin on GitHub for inspiration on getting this working<br />
-<a href="https://gist.github.com/alexandrusavin/69b26846d6593d6f217219b5bd8882c4">https://gist.github.com/alexandrusavin/69b26846d6593d6f217219b5bd8882c4</a></p>
-          </div>
+<a href="https://gist.github.com/alexandrusavin/69b26846d6593d6f217219b5bd8882c4">https://gist.github.com/alexandrusavin/69b26846d6593d6f217219b5bd8882c4</a></p>          </div>
         </div>
       </body>
     </html>