ssl3_get_record:wrong version number [on hold]











up vote
-3
down vote

favorite












SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number



SSL_CTX *ctx;

ctx = SSL_CTX_new(SSLv23_server_method());

if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");


if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");









share|improve this question







New contributor




SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • what is your question? ........ have you done any research before posting here?
    – jsotola
    Nov 28 at 6:32












  • my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
    – SKR_OVER
    Nov 28 at 7:01










  • you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
    – jsotola
    Nov 28 at 7:29












  • search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
    – SKR_OVER
    Nov 28 at 7:39















up vote
-3
down vote

favorite












SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number



SSL_CTX *ctx;

ctx = SSL_CTX_new(SSLv23_server_method());

if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");


if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");









share|improve this question







New contributor




SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • what is your question? ........ have you done any research before posting here?
    – jsotola
    Nov 28 at 6:32












  • my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
    – SKR_OVER
    Nov 28 at 7:01










  • you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
    – jsotola
    Nov 28 at 7:29












  • search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
    – SKR_OVER
    Nov 28 at 7:39













up vote
-3
down vote

favorite









up vote
-3
down vote

favorite











SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number



SSL_CTX *ctx;

ctx = SSL_CTX_new(SSLv23_server_method());

if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");


if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");









share|improve this question







New contributor




SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number



SSL_CTX *ctx;

ctx = SSL_CTX_new(SSLv23_server_method());

if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");


if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");






osx openssl proxy https






share|improve this question







New contributor




SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 28 at 2:31









SKR_OVER

1




1




New contributor




SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






SKR_OVER is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • what is your question? ........ have you done any research before posting here?
    – jsotola
    Nov 28 at 6:32












  • my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
    – SKR_OVER
    Nov 28 at 7:01










  • you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
    – jsotola
    Nov 28 at 7:29












  • search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
    – SKR_OVER
    Nov 28 at 7:39


















  • what is your question? ........ have you done any research before posting here?
    – jsotola
    Nov 28 at 6:32












  • my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
    – SKR_OVER
    Nov 28 at 7:01










  • you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
    – jsotola
    Nov 28 at 7:29












  • search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
    – SKR_OVER
    Nov 28 at 7:39
















what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32






what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32














my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01




my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01












you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29






you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29














search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39




search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt