ERROR OpenSSL : error code: 151584876 in ../crypto/pem/pem_lib.c, line 745 for SP Signing Certificate

Christopher Bongaarts cab at umn.edu
Mon Nov 28 21:10:36 UTC 2022


On 11/28/2022 1:27 PM, Bhagwat, Shrikant via users wrote:
>
> 2022-11-28 18:58:49 INFO XMLTooling.SecurityHelper : loading private 
> key from file (/etc/shibboleth/sp-encrypt-key.pem)
>
> 2022-11-28 18:58:49 INFO XMLTooling.SecurityHelper : loading 
> certificate(s) from file (/etc/shibboleth/sp-encrypt-key.pem)
>
> 2022-11-28 18:58:49 ERROR OpenSSL : error code: 151584876 in 
> ../crypto/pem/pem_lib.c, line 745
>
> 2022-11-28 18:58:49 ERROR OpenSSL : error data: Expecting: CERTIFICATE
>
> 2022-11-28 18:58:49 ERROR XMLTooling.CredentialResolver.Chaining : 
> caught exception processing embedded CredentialResolver element: 
> Unable to load certificate(s) from file 
> (/etc/shibboleth/sp-encrypt-key.pem).
>
> [...]
> Any Idea ?


Looks like you're trying to load a private key file as the certificate - 
you probably want sp-encrypt-cert.pem instead for the cert file in your 
CredentialResolver.

-- 
%%  Christopher A. Bongaarts   %%cab at umn.edu           %%
%%  OIT - Identity Management  %%http://umn.edu/~cab   %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20221128/a0873427/attachment.htm>


More information about the users mailing list