This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| custom_ssl_cert_local_cert_authority [2025/11/18 05:57] – [Set up a Custom SSL Cert using Local CA & Cert-Signing Request] hogwild | custom_ssl_cert_local_cert_authority [2025/11/26 00:15] (current) – [Set up a Custom SSL Cert - Notes and Troubleshooting] hogwild | ||
|---|---|---|---|
| Line 447: | Line 447: | ||
| ==== Upload the Custom Certificates / Key to the Router and Write them to NVRAM ==== | ==== Upload the Custom Certificates / Key to the Router and Write them to NVRAM ==== | ||
| - | \\ | + | |
| - | Using the secure copy command (and legacy protocol), copy the: " | + | \\ Using the secure copy command (and legacy protocol), copy the: " |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Run the SSH command to connect via SSH to the root account on the host router named: " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Rename the file: " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Rename the file: " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Concatenate the contents of the " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Copy the " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Copy the " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Run the stream text editor, make it open the " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Run the tar command and compress the " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | ''/ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Run the gzip archive tool to further compress the " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | ''/ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Encode the "/ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Commit all the changes to NVRAM: \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Finally, restart the HTTP daemon: \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | The " | + | |
| - | \\ | + | |
| - | The process is now complete. Now, you should be able to access your FreshTomato web interface using the custom certificates you created with your own CA. If something isn't working, review all steps and double-check that they were properly completed. \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| ===== Set up a Custom SSL Cert - Notes and Troubleshooting ===== | ===== Set up a Custom SSL Cert - Notes and Troubleshooting ===== | ||
| - | \\ | + | |
| - | Download the two configuration files needed to create the Custom Certificate Authority here: \\ | + | \\ Download the two configuration files needed to create the Custom Certificate Authority here: \\ |
| - | \\ | + | |
| - | \\ | + | |
| - {{ca.openssl.cnf.zip}} | - {{ca.openssl.cnf.zip}} | ||
| - {{intermediateca.openssl.cnf.zip}} | - {{intermediateca.openssl.cnf.zip}} | ||
| - | \\ | + | |
| - | \\ | + | \\ |
| - | The OpenSSL ccparam subcommand doesn' | + | |
| - | \\ | + | \\ |
| - | '' | + | |
| - | \\ | + | \\ Since r2025.3, FreshTomato doesn' |
| - | \\ | + | |
| - | | + | |
| - | Since r2025.3, FreshTomato doesn' | + | |
| - | \\ | + | |
| * In the web interface, go to the [[admin_access|Admin Access]] menu and check the CN under "SSL Certificate" | * In the web interface, go to the [[admin_access|Admin Access]] menu and check the CN under "SSL Certificate" | ||
| * Connect via SSH to FreshTomato and run the following commands: | * Connect via SSH to FreshTomato and run the following commands: | ||
| Line 584: | Line 472: | ||
| * When the router is accessible again you'll notice that the certificate is still working fine. \\ Go back to the [[admin_access|Admin Access]] page and you will see the CN is now " | * When the router is accessible again you'll notice that the certificate is still working fine. \\ Go back to the [[admin_access|Admin Access]] page and you will see the CN is now " | ||
| * If you clicked " | * If you clicked " | ||
| - | * At this point you can go back to SSH and change back your CN and commit or, of test it further. \\ | + | * At this point you can go back to SSH and change back your CN and commit or, of test it further. \\ |
| - | | + | |
| - | \\ | + | |
| - | \\ | + | |