Quote:
Originally Posted by 1s440
Hello all,
I have installed SSL certificate for my apache server. Unfortuantely i am getting the below error when I ran as below.
Code:
openssl s_client -connect 192.168.0.1:443
CONNECTED(00000003)
140534243316992:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:252:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 176 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1534855780
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
When I try to access the web page its throwing an error.
An error occurred during a connection to example.com. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
Please suggest
|
You seem to have been working with SSL/HTTP issues for a while now:
https://www.linuxquestions.org/quest...or-4175634612/
https://www.linuxquestions.org/quest...ps-4175634886/
We will again suggest (as has been suggested before), that you try to do basic research first. Putting your exact error message into Google yields lots. It typically means that you've not configured HTTPS correctly for that host/vhost, so the HTTPS request is going to an HTTP service, and it's not getting the response it expects. Have you configured SSL correctly, and is the .conf file being LOADED when you start Apache? You have to uncomment it in the config, so it gets picked up.
You also don't tell us anything about your system (version/distro of Linux, Apache, etc.), or what you've done/tried so far.