BN_mod_inverse:no inverse when calling OCSP_basic_sign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 05, 2016, Eric To wrote:

> 
> Any hint on troubleshooting this would be great. Here is how I call the
> OCSP_basic_sign:
> 
> OCSP_BASICRESP *bresp;
> X509 *signer;
> EVP_PKEY *key;
> ...
> OCSP_basic_sign(bresp,
>                     signer, key,
>                     EVP_sha1(),
>                     NULL, 0);
> 
> But getting the following error internally from OCSP_basic_sign:
> 
> OPENSSL ERROR: error:0306E06C:bignum routines:BN_mod_inverse:no inverse
> OPENSSL ERROR: error:0D0DC006:asn1 encoding routines:ASN1_item_sign_ctx:EVP
> lib
> 

Where does the key come from? Trying using the -check option to the rsa
utility to see if it is valid.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux