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

Unsupported or unrecognized SSL message #2

Open
aatomium opened this issue May 9, 2021 · 0 comments
Open

Unsupported or unrecognized SSL message #2

aatomium opened this issue May 9, 2021 · 0 comments

Comments

@aatomium
Copy link

aatomium commented May 9, 2021

Hello !
I've this problem when I try java -jar generatePins.jar 192.168.1.37:8888 sha-256 :

**Run this on a trusted network**
Generating SSL pins for: 192.168.1.37
##SSL pin set generator##
The generated pinset are base-64 encoded hashes (default SHA-1, but supports SHA-256). Note: only run this on a trusted network.

Usage: "java -jar generatePins.jar <host>[:port] hashAlgorthm" i.e scottyab.com:443 sha-256

Whoops something went wrong: Unsupported or unrecognized SSL message
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
        at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(Unknown Source)
        at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
        at sun.security.ssl.SSLTransport.decode(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at com.scottyab.ssl.util.SSLPinGenerator.fetchAndPrintPinHashs(SSLPinGenerator.java:115)
        at com.scottyab.ssl.util.SSLPinGenerator.main(SSLPinGenerator.java:84)`

What's the problem?
Thanks !

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