diff -r 24cf59559959 -r bf1c38268e25 authserver/README.md --- a/authserver/README.md Fri Aug 28 15:55:36 2015 +0200 +++ b/authserver/README.md Fri Aug 28 16:00:19 2015 +0200 @@ -21,10 +21,17 @@ boot2docker up ``` +You will need to import the SSL Certificate of your homestead/virtual machine into the CAS server so it can recognize it when logging a user. +If you use homestead, the certificates used are in /etc/nginx/ssl/. You will need to use the following command: +```shell +openssl x509 -in homestead.app.crt -out homestead.app.der -outform DER +``` +to generate a der formatted file called homestead.app.der. You'll have to extract this file out of the homestead machine and put it in the /remie/casserver folder so that Docker can find it and put it in the CAS server keystore + ```shell mvn clean package docker build -t iri-research/cas-basic . -docker run -p 8080:8080 -p 8443:8443 --addhost homestead.app:192.168.10.10 -d iri-research/cas-basic +docker run -p 8080:8080 -p 8443:8443 --add-host homestead.app:192.168.10.10 -d iri-research/cas-basic ``` ## LDT