Commit e12182f2 authored by Łukasz Nowak's avatar Łukasz Nowak

repo: Improve install.sh messages

The most important thing is that Certificate has to match the Key.

The CA certificate is fully optional, so make it seen as this, and also
explain what is its purpose.
parent 1b074ddf
...@@ -25,9 +25,8 @@ echo "Note: Domain name has to match certificate Common Name" ...@@ -25,9 +25,8 @@ echo "Note: Domain name has to match certificate Common Name"
echo echo
echo "Important: Domain name HAVE TO point to public IP of this machine" echo "Important: Domain name HAVE TO point to public IP of this machine"
echo " in order for the installation to work" echo " in order for the installation to work"
echo " As a temporary workaround, you can put the proper line in" echo
echo " /etc/hosts, like:" echo "Important: The SSL certificate and SSL Key have to match."
echo " IPV4.OF.THE.MACHINE DOMAIN.NAME"
echo echo
echo "Leave empty values for everything, than the automatically generated" echo "Leave empty values for everything, than the automatically generated"
echo "certificate will be used, for the public IP of this host." echo "certificate will be used, for the public IP of this host."
...@@ -42,7 +41,7 @@ echo -n "Please type the path to SSL Key file: " ...@@ -42,7 +41,7 @@ echo -n "Please type the path to SSL Key file: "
read ssl_key_file read ssl_key_file
check_file "$ssl_key_file" "SSL Key" check_file "$ssl_key_file" "SSL Key"
frontend_ssl_key_file=$check_file frontend_ssl_key_file=$check_file
echo -n "Please type path to the CA Certificate file: " echo -n "[OPTIONAL] Please type the path to the CA Certificate used to generate the key and certificate file: "
read ssl_ca_crt_file read ssl_ca_crt_file
check_file "$ssl_ca_crt_file" "SSL CA Certificate" check_file "$ssl_ca_crt_file" "SSL CA Certificate"
frontend_ssl_ca_crt_file=$check_file frontend_ssl_ca_crt_file=$check_file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment