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

Getting SSLException #14

Closed
gmarshall56 opened this issue Jun 18, 2021 · 1 comment
Closed

Getting SSLException #14

gmarshall56 opened this issue Jun 18, 2021 · 1 comment

Comments

@gmarshall56
Copy link

gmarshall56 commented Jun 18, 2021

Compiled (java 8). Then ran with:
java InstallCert localhost:3000

Getting:
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:448)
at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:174)
at sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1279)
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1188)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:401)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373)
at InstallCert.main(InstallCert.java:150)
Could not obtain server certificate chain

Also getting this exception using Java 11...
Thank you

@escline
Copy link
Owner

escline commented Jun 21, 2021

Looks like the exception relates to whatever you are serving from localhost. Is port 3000 serving SSL? Is there a certificate installed on your server? The exception is telling you "Could not obtain server certificate chain" on your localhost:3000.

@escline escline closed this as completed Jul 9, 2021
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

2 participants