You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
739 B

  1. --- a/hs20/server/ca/setup.sh
  2. +++ b/hs20/server/ca/setup.sh
  3. @@ -3,7 +3,7 @@
  4. if [ -z "$OPENSSL" ]; then
  5. OPENSSL=openssl
  6. fi
  7. -export OPENSSL_CONF=$PWD/openssl.cnf
  8. +export OPENSSL_CONF=/usr/share/hs20/ca/openssl.cnf
  9. PASS=whatever
  10. if [ -z "$DOMAIN" ]; then
  11. DOMAIN=w1.fi
  12. @@ -83,10 +83,10 @@ then
  13. fi
  14. # Set the passphrase and some other common config accordingly.
  15. -cat openssl-root.cnf | sed "s/@PASSWORD@/$PASS/" \
  16. +cat /usr/share/hs20/ca/openssl-root.cnf | sed "s/@PASSWORD@/$PASS/" \
  17. > my-openssl-root.cnf
  18. -cat openssl.cnf | sed "s/@PASSWORD@/$PASS/" |
  19. +cat /usr/share/hs20/ca/openssl.cnf | sed "s/@PASSWORD@/$PASS/" |
  20. sed "s,@OCSP_URI@,$OCSP_URI," |
  21. sed "s,@LOGO_URI@,$LOGO_URI," |
  22. sed "s,@LOGO_HASH1@,$LOGO_HASH1," |