Hi, following the docs and blog post here:
https://opensips.org/docs/modules/3.1.x/stir_shaken.html and here:
https://blog.opensips.org/2020/01/23/shaken-not-stirred/

I'm getting an error regarding certificate parsing and loading. I'm guessing
it's got to do with how I'm loading the certs. I just want to see if I can
make it add the identity header and this is a test run so it's just a simple
hard code:

 # Do Stir/Shaken Signing
        $var(cert) = "/home/homey/key.pem-public.pem";
        $var(privKey) = "/home/homey/private_key.pem";
        stir_shaken_auth("A", "$ci", "$var(cert)", "$var(privKey)",
"https://certs.example.org/cert.pem";);

results in no identity header and the following in the logs:
May 20 18:16:10 stir-shaken /usr/local/sbin/opensips[65744]:
ERROR:stir_shaken:load_cert: Failed to parse certificate
May 20 18:16:10 stir-shaken /usr/local/sbin/opensips[65744]:
ERROR:stir_shaken:w_stir_auth: Failed to load certificate

Any guidance would be appreciated.



--
Sent from: 
http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to