Hi,

On Tue, Sep 10, 2024 at 5:48 PM Arne Schwabe <a...@rfc2549.org> wrote:

>
> >
> > Your patch has been applied to the master branch.
> >
> > commit 3512e8d3ada4fa7d04925a89fd9f3669655c7887 (master)
> > Author: Selva Nair
> > Date:   Fri Sep 6 12:37:34 2024 +0200
> >
> >       Interpret --key and --cert option argument as URI
> >
> There is something wonky going on. On my local macOS build I am getting
> errors with this on master now:
>
> openvpn --cert /Users/arne/ovpn/styx-secp.pem --key
> /Users/arne/ovpn/styx-secp.pem
>
> 2024-09-10 23:25:00 us=689075 OpenSSL: error:1608010C:STORE
> routines::unsupported:
> 2024-09-10 23:25:00 us=689082 Cannot load certificate from URI
> </Users/arne/ovpn/styx-secp.pem>


>
> styx-secp.pem is a file that contains both cert and key:
>

Such composite PEM files should work both as file name and
URI.

It seems I have overlooked the fact that OPENSSL_STORE_load()
can error out and return NULL and still have more readable objects
present.

I'm working on a patch.

Selva
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to