error:04091068:rsa routines:int_rsa_verify:bad signature

Discuss EZCast Questions & Bugs & Wishlist。

Moderator: Henry Chou

vin
Posts: 1
Joined: Tue Jan 15, 2019 4:41 pm

error:04091068:rsa routines:int_rsa_verify:bad signature

Postby vin » Tue Jan 15, 2019 4:44 pm

Hi everyone,

I am using openssl-1.0.2p in WEC7 client device and using openssl-1.1.1 in Ubuntu 18.10 server machine.Server is running hostapd.When client is trying to connect to server by EAPTLS method using TLSv1.2 ,while certificate verify server is giving the below error.
(Seeing same issue whith Windows Embedded 8 64 bit client)

"SSL: SSL3 alert: write (local SSL3 detected an error):fatal:decrypt error"
"OpenSSL: openssl_handshake - SSL_connect error:04091068:rsa routines:int_rsa_verify:bad signature"

When i traced int_rsa_verify API in server ,i found that decrypted data is not same as encoded data ,that is the reason for this error.

But the fact is with same certificates and same server and client setup ,client got connected to server with TLSv1.0 .
When TLSv1_client_method() is replaced by TLSv1_2_client_method() ,i am facing this issue.
Client side i am not getting any errors.Anything else needs to be modified to upgrade to TLSV1_2 version???

Can anyone help me in fixing or debugging this issue???Got struck in this ,any help will be greatly needed.
Thanks in advance

EZCast OS:Windows
Functions:network card
Last edited by vin on Thu Jan 17, 2019 3:24 pm, edited 3 times in total.

MissEZCast
Posts: 1074
Joined: Mon May 23, 2016 4:56 pm

Re: error:04091068:rsa routines:int_rsa_verify:bad signature

Postby MissEZCast » Wed Jan 16, 2019 10:29 am

vin wrote:Hi everyone,

I am using openssl-1.0.2p in WEC7 client device and using openssl-1.1.1 in Ubuntu 18.10 server machine.Server is running hostapd.When client is trying to connect to server by EAPTLS method using TLSv1.2 ,while certificate verify server is giving the below error.

"SSL: SSL3 alert: write (local SSL3 detected an error):fatal:decrypt error"
"OpenSSL: openssl_handshake - SSL_connect error:04091068:rsa routines:int_rsa_verify:bad signature"

When i traced int_rsa_verify API in server ,i found that decrypted data is not same as encoded data ,that is the reason for this error.

But the fact is with same certificates and same server and client setup ,client got connected to server with TLSv1.0 .
When TLSv1_client_method() is replaced by TLSv1_2_client_method() ,i am facing this issue.
Client side i am not getting any errors.

Can anyone help me in fixing or debugging this issue???Got struck in this ,any help will be greatly appreciated.
Thanks in advance

For providing you better customer services, please specify the following information for us:
Dongle’s SSID: EZCast-12345678, for example (or photo the bootup image for us)

Functions: EZCast(Photo, Camera, Video, the Web, ……), Airplay, Miracast or DLNA

EZCast OS: Android, iOS, Windows, Windows Phone, Mac, or ChromeOS App


Thanks for your understanding and help.


Return to “EZCast Questions & Bugs & Wishlist”