Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Handshake in Java #227

Open
angeloimm opened this issue Aug 30, 2022 · 0 comments
Open

SSL Handshake in Java #227

angeloimm opened this issue Aug 30, 2022 · 0 comments

Comments

@angeloimm
Copy link

Ho creato un semplice SP usando java e springboot (ultima versione 2.7.3 ma la versione di spring non incide) e springsecurity
Dopo aver importato il certificato selfsigned dello spid-saml-check nel mio cacerts, quando tento di effettuare una chiamata http all'url https://localhost:8443/metadata.xml ottengo un errore ssl handshake exception no name matching localhost found

Osservando il certificato originale del tool, il CN è localhost:8080, ovviamente questo non coincide con https://localhost:8443/metadata.xml e, quindi, non riuscivo a caricare il metadata dell'IdP

Ho risolto generando una nuova key ed un nuovo crt da usare in spid-saml-check usando il tool https://github.com/italia/spid-compliant-certificates
Allego i due file nuovi alla issue
Valutate se usarli per il futuro
spid-saml-check-certificate.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant