lucaconte / BeatTheMeddler

May become the "Signal [Modular] Community Edition"
31 stars 16 forks source link

Nginx ssl - SSL_ERROR_RX_RECORD_TOO_LONG #4

Open maklei125 opened 8 years ago

maklei125 commented 8 years ago

Can you help me to configure TextSecure server with ssl?

when I try to add certificate to nginx on port 80 it's working fine but on 8080 it's giving me error

SSL_ERROR_RX_RECORD_TOO_LONG

org.eclipse.jetty.http.HttpParser: Illegal character 0x16 in state=START for buffer HeapByteBuffer@3cab12d7[p=1,l=195,c=8192,r=194]={\x16<<<\x03\x01\x00\xBe\x01\x00\x00\xBa\x03\x03b\x82g\x1f\x87`\x08...\x01\x02\x01\x04\x03\x05\x03\x06\x03\x02\x03\x04\x02\x02\x02>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}

thank you very much for your help.

lucaconte commented 8 years ago

Follow the SSL step into the tutorial. Porbably you have not changed the ssl certificates; not only into the server but also into your clients. The SSL certs are bindend with a well known IP address o a (sub)domain (that of your server). Excute the bash script pasted into my doc and copy in the rigth places files obtained by the excecution of it.