revert certs for default openssl and change only if needed

This commit is contained in:
bmamihai 2023-03-29 00:54:56 +03:00
parent 5732742ec4
commit c5153bc48b
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
#OPENSSL_PATH="/usr/bin" #default install path OPENSSL_PATH="/usr/bin" #default install path
OPENSSL_PATH="/usr/local/ssl/bin" #workaround for dual openssl install #OPENSSL_PATH="/usr/local/ssl/bin" #workaround for dual openssl install
DAYS=$((10*365)) DAYS=$((10*365))
LEVELS=1 LEVELS=1

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
#OPENSSL_PATH="/usr/bin" #default install path OPENSSL_PATH="/usr/bin" #default install path
OPENSSL_PATH="/usr/local/ssl/bin" #workaround for dual openssl install #OPENSSL_PATH="/usr/local/ssl/bin" #workaround for dual openssl install
if test "$#" -ne 1; then if test "$#" -ne 1; then
echo "Error: Wrong parameters --> You must provide the certificate name." echo "Error: Wrong parameters --> You must provide the certificate name."
echo "Please use: ./createCerts.sh 18" echo "Please use: ./createCerts.sh 18"