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/12 23:27] – [Upload the Custom Certificates / Key to the Router and Write them to NVRAM] -Formatting hogwild | custom_ssl_cert_local_cert_authority [2025/11/13 01:57] (current) – [Prerequisites] -Formatting hogwild | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| | | ||
| - | - A FreshTomato router with approximately 2.5 kB of free NVRAM. \\ (Check "Used / Total NVRAM" in the Overview menu) | + | - A FreshTomato router with approximately 2.5 kB of free NVRAM. \\ (Check "Used / Total NVRAM" in the Overview menu) \\ \\ |
| - Any Linux distro with which you are comfortable. \\ The Certificate Authority will be built in the "/ | - Any Linux distro with which you are comfortable. \\ The Certificate Authority will be built in the "/ | ||
| | | ||
| Line 433: | Line 432: | ||
| | | ||
| ==== Set up Root with Elliptical Curve SSH Keys ==== | ==== Set up Root with Elliptical Curve SSH Keys ==== | ||
| - | \\ | + | |
| - | (This is done with root credentials because the certificates must be installed in FreshTomato. Using root access helps avoid unsecured steps in between). \\ | + | \\ (This is done with root credentials because the certificates must be installed in FreshTomato. Using root access helps avoid unsecured steps in between). \\ \\ Change to the: "/ |
| - | \\ | + | |
| - | Change to the: "/ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Generate a public | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Display the contents of the public SSH key file: "/ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | '' | + | |
| - | (The contents should look similar to: " | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Now, connect to the router' | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Uncheck: \\ | + | |
| * "Allow password login" | * "Allow password login" | ||
| * "WAN access" | * "WAN access" | ||
| - | \\ Now, check: \\ | + | \\ Now, check: \\ |
| - | * " | + | * " |
| - | | + | |
| - | \\ | + | \\ \\ \\ \\ Finally, click "Start Now" to restart the SSH server. \\ \\ \\ \\ |
| - | \\ | + | |
| - | \\ | + | |
| - | Finally, click "Start Now" to restart the SSH server. \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | \\ | + | |
| Line 610: | Line 573: | ||
| | | ||
| | | ||
| - | 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 620: | Line 583: | ||
| * 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. |
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||