SSL_ERROR_RX_RECORD_TOO_LONG for OAuth implementation


#1

I have set the self-signed-certificate for SSL and I have implemented the tutorial (https://www.ory.sh/run-oauth2-server-open-source-api-security) after when I run https://10.10.0.1:9010/ it gives SSL_ERROR_RX_RECORD_TOO_LONG Error but my host is running properly on https after implementation of OAuth it gives SSL error. Any help appreciated.


#2

Don’t want to be rude, but the first 5 results on Google explain this: https://www.google.com/search?q=SSL_ERROR_RX_RECORD_TOO_LONG


#3

I understand but i am saying in my domain side https://10.10.0.1 it displays page is that mean SSL is proper after implementation of OAuth it gives this “SSL_ERROR_RX_RECORD_TOO_LONG” Error now tell me what should i understand is there a mistake in generating SSL if it was than my https://10.10.0.1 page not going to display anything instead it will give an error like this one SSL_ERROR_RX_RECORD_TOO_LONG or i did a mistake in implementation of OAuth ?


#4

It indicates that you’re sending HTTP instead of a TLS response at that specific ip. So try calling e.g. http://10.10.0.1:443 (or whatever your port/ip combination is) and see if it’s actually a HTTP response.


#5

Thanks @arekkas for your effort

I have tested the http://172.18.0.1:9010 main OAuth URL which is running on HTTP based correct but when I hit https://172.18.0.1:9010 it gives SSL_ERROR_RX_RECORD_TOO_LONG error.

thanks in advance