Advertisement
Guest User

Untitled

a guest
Mar 16th, 2018
3,406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. $ sh -c "$(wget -qO - https://kazoo.ga/pixelserv-tls/config-webgui.sh)"
  2.  
  3. This script (v0.1.0) will guide you through the process of using
  4. your Pixelserv CA to issue a new certificate to ASUSWRT WebGUI.
  5.  
  6. As a pixelserv-tls user, you already have generated your own
  7. root CA certificate during installation and have your Pixelserv CA certificate
  8. imported on client devices and browsers.
  9.  
  10. Hence, using your Pixelserv CA to issue a new certificate for WebGUI saves you
  11. hassle to import a newly self-signed certificate upon every firmware upgrade.
  12.  
  13. Simply re-run this script to issue and config WebGUI after every firmware
  14. upgrade. No more invalid certs and imports.
  15.  
  16. *****
  17.  
  18. Before you proceed, pls have pixelserv-tls installed and running. You shall also
  19. have your Pixelserv CA cert imported on a test client.
  20.  
  21. *****
  22.  
  23. Get to know more about pixelserv-tls, please go to https://kazoo.ga/pixelserv-tls/
  24.  
  25.  
  26. 1. Issue and configure a certificate for ASUSWRT WebGUI
  27.  
  28. Type 1 to proceed or anything else to quit: 1
  29.  
  30.  
  31. Use your Pixelserv CA to issue a certificate to domain:
  32.  
  33. a. my.asuscomm.com
  34. b. router.asus.com
  35.  
  36. Note that (b) works for access from LAN and VPN and recommended. (a) additionally works for WAN.
  37.  
  38. You should have your Pixelserv CA imported in a test client.
  39. Or else your client will not treat the newly issued cert as valid.
  40.  
  41. Type a, b to proceed or anything else to quit: b
  42.  
  43. *****
  44. A new cert has been issued by your Pixelserv CA to domain: router.asus.com
  45.  
  46. This script is about to configure and restart WebGUI.
  47.  
  48. Please type 'yes' to continue or anything else to quit.
  49.  
  50. yes
  51.  
  52. *****
  53. New cert configured. WebGUI restarted. Please keep this terminal open and
  54. try to access WebGUI from a test client.
  55.  
  56. If you see a padlock, congrats or else you may revert the change.
  57.  
  58. Type 'revert' to restore or anything else to quit and enjoy the new cert.
  59.  
  60. fan q kvic
  61.  
  62.  
  63. Congratulations. All done. Happy pixelserv'ing!
  64.  
  65. This script has backup WebGUI's original cert under /jffs.
  66. You may safely clean them up with:
  67.  
  68. rm -i /jffs/cert.pem-bk
  69. rm -i /jffs/key.pem-bk
  70. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement