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:

-----BEGIN PRIVATE KEY-----
[...]
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
[...]
-----END CERTIFICATE-----

The same combined key/cert file works fine with the patch again reverted and also if I split the file into key and cert file. I haven't looked why it fails but I think we need to restore that functionality again.

Arne


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

Reply via email to