docs:tips_n_tricks:tomato.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docs:tips_n_tricks:tomato.html [25.06.2018 03:03 CEST] – peter | docs:tips_n_tricks:tomato.html [03.05.2021 19:08 CEST] (current) – [Using https with your own CA] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Tomato ====== | ====== Tomato ====== | ||
+ | ===== Using https with your own CA ===== | ||
+ | <note important> | ||
+ | One advantage of open source firmware is the ability to use //https// for accessing the web based configuration tools (aka Web GUI). However, with Tomato USB there is no obvious option to upload a signed certificate. If you're running your own Home-CA, eg. by using [[https:// | ||
+ | |||
+ | mkdir etc | ||
+ | scp -p root@192.168.1.1;/ | ||
+ | scp -p root@192.168.1.1;/ | ||
+ | |||
+ | Now import then into your CA, make a " | ||
+ | |||
+ | scp -p etc/cert.pm root@192.168.1.1:/ | ||
+ | |||
+ | For storing this into the NVRAM, you have to create the right configuration by this: | ||
+ | |||
+ | tar -czf - etc/ | ||
+ | |||
+ | Use the resulting string as parameter for // | ||
+ | |||
+ | nvram set https_crt_file=" | ||
+ | nvram commit | ||
+ | reboot | ||
+ | |||
+ | where the dots ... have to be replaced by the output gained above((An other way would be to create the tar file, copy it to the router and use '' | ||
+ | ===== Starting httpd on commandline ===== | ||
+ | |||
+ | <code bash> | ||
+ | cd /www | ||
+ | httpd | ||
+ | </ | ||
+ | |||
+ | Pretty easy, huh? :-D | ||
===== Using TomatoUSB as NATting router ===== | ===== Using TomatoUSB as NATting router ===== | ||
//This was tried with TomatoUSB v1.28((Tomato Firmware 1.28.0000 MIPSR2-124 K26 USB AIO | //This was tried with TomatoUSB v1.28((Tomato Firmware 1.28.0000 MIPSR2-124 K26 USB AIO | ||
Line 49: | Line 80: | ||
/ | / | ||
/ | / | ||
+ | ===== Caveats ===== | ||
+ | |||
+ | <note warning> | ||
===== Links ===== | ===== Links ===== | ||
* http:// | * http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
docs/tips_n_tricks/tomato.html.1529888592.txt.gz · Last modified: 25.06.2018 03:03 CEST by peter