shibboleth-idp-dockerized icon indicating copy to clipboard operation
shibboleth-idp-dockerized copied to clipboard

Help: keystore password can't be set

Open shemgp opened this issue 5 years ago • 5 comments

Followed instructions in the README.md, including adding, -e JETTY_BROWSER_SSL_KEYSTORE_PASSWORD=changeme and I still says:

Exception in thread "main" java.io.IOException: keystore password was incorrect

Here's what I do:

/opt/shibboleth# openssl pkcs12 -in shibboleth-idp/credentials/idp-browser.p12 -nodes -out temp.pem
Enter Import Password: changeme
/opt/shibboleth# ls
Dockerfile  ext-conf  logs  shibboleth-idp  temp.pem
/opt/shibboleth# docker build --tag="aiias/shibboleth-idp:3.4.3" .
Sending build context to Docker daemon  240.6kB
Step 1/3 : FROM unicon/shibboleth-idp
 ---> 83a5c2df0c20
Step 2/3 : MAINTAINER [email protected]
 ---> Using cache
 ---> 39e2dda21601
Step 3/3 : ADD shibboleth-idp/ /opt/shibboleth-idp/
 ---> Using cache
 ---> 63d1536f4574
Successfully built 63d1536f4574
Successfully tagged aiias/shibboleth-idp:3.4.3
/opt/shibboleth# docker run -d --name="shib-local-test" -p 8443:8443 -v ext-conf:/opt/shibboleth-idp/ext-conf -v logs:/opt/shibboleth-idp/logs -e JETTY_BROWSER_SSL_KEYSTORE_PASSWORD=changeme aiias/shibboleth-idp:3.4.3

shemgp avatar Jun 27 '19 08:06 shemgp