vdenotaris / spring-boot-security-saml-sample

SBS3 — A sample SAML 2.0 Service Provider built on Spring Boot.
https://sbs3.vdenotaris.com
Apache License 2.0
564 stars 351 forks source link

Docker: javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname validation for name: null #73

Closed zyhalj closed 5 years ago

zyhalj commented 5 years ago

I try to pull your app image from the hub.docker.com and run it. But I get error javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname validation for name: null

I notice the readme file mentions to resolve this issue to call following command. ... RUN cd /usr/src/app/src/main/resources/saml/ && sh ./update-certifcate.sh ..

I check your Dockerfile file, the command had been called.

I'm not sure where is wrong now?

vdenotaris commented 5 years ago

Just fixed.

Thanks for your reporting.