OSSL_STORE_open() returns error:16000069:STORE routines::unregistered scheme

Graham Leggett minfrin at sharp.fm
Wed Dec 27 14:39:49 UTC 2023


Hi all,

Still trying to figure out OSSL_STORE_open(), but not having any luck. I tried with a uri of “file:///tmp/foo.pem” and “/tmp/foo.pem”, and in both cases NULL is returned and the error code is OSSL_STORE_R_UNREGISTERED_SCHEME.

According to the man page at https://www.openssl.org/docs/man3.2/man3/OSSL_STORE_open.html, "A string without a scheme prefix (that is, a non-URI string) is implicitly interpreted as using the file: scheme”, but this doesn’t appear to happen.

There is nothing documented at the page above indicating any prerequisite functions to call. Anyone have any more info as to why OSSL_STORE_open() isn’t doing anything? 

Regards,
Graham
—



More information about the openssl-users mailing list