Skip to Content.
Sympa Menu

mace-opensaml-users - RE: exception creating CredentialResolver (C++)

Subject: OpenSAML user discussion

List archive

RE: exception creating CredentialResolver (C++)


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: <>
  • Subject: RE: exception creating CredentialResolver (C++)
  • Date: Mon, 5 Nov 2007 15:25:38 -0500
  • Organization: The Ohio State University

> I can get rid of the "FilesystemCredentialResolver unable to load any
> certificate(s)" exception by not writing the "-----BEGIN
> CERTIFICATE-----" and "-----END CERTIFICATE-----" literals to the
> cert.pem file. I assume they shouldn't be there.

I'd be surprised. I don't know if they have to be there, but I think they
do, and I know that I use them (see sample data).

> Now I just need to
> figure out the reason for the current exception "getEncodingFormat:
> BIO_read() can't read from the stream".

Sounds to me like your path is bogus or lacks permissions.

All you're doing is moving errors around, not solving the problem. If you
can't just use the logging, you'll have to trace the code. I wouldn't waste
the time unless you know for a fact the openssl x509 command can read it.

-- Scott





Archive powered by MHonArc 2.6.16.

Top of Page