Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. create ssl certReq colors.csr -keyFile colors.key -keyform PEM -PemPassPhrase Password1 -countryName US -stateName California -organizationName "Colors Training" -commonName colors.training.lab -challengePassword Password1
  2. create ssl cert colors.cer colors.csr SRVR_CERT -days 1825 -CACert ns-root.cert -CAKey ns-root.key -CASerial ns-root.srl
  3. add ssl certkey colors.training.lab -cert colors.cer -key colors.key -password Password1
  4. add lb vserver ssl_vsrv_rbg SSL 172.21.10.105 443
  5. bind lb vserver ssl_vsrv_rbg svc_red
  6. bind lb vserver ssl_vsrv_rbg svc_blue
  7. bind lb vserver ssl_vsrv_rbg svc_green
  8. bind ssl vserver ssl_vsrv_rbg -certkeyName colors.training.lab
  9. set ssl vServer ssl_vsrv_rbg -ssl3 disabled
  10. add serviceGroup svcg_rbg_ssl SSL
  11. bind serviceGroup svcg_rbg_ssl srv_red 443
  12. bind serviceGroup svcg_rbg_ssl srv_blue 443
  13. bind serviceGroup svcg_rbg_ssl srv_green 443
  14. unbind lb vserver ssl_vsrv_rbg svc_red
  15. unbind lb vserver ssl_vsrv_rbg svc_blue
  16. unbind lb vserver ssl_vsrv_rbg svc_green
  17. bind lb vserver ssl_vsrv_rbg svcg_rbg_ssl
  18. add lb vserver lb_vsrv_rbg_sslredirect HTTP 172.21.10.105 80
  19. set lb vserver lb_vsrv_rbg_sslredirect -redirectUrl "https://172.21.10.105/home.php"
  20. set lb vserver lb_vsrv_rbg_sslredirect -redirectUrl "https://172.21.10.105"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement