oictest icon indicating copy to clipboard operation
oictest copied to clipboard

How to specify CA certificate for oic_flow_tests ?

Open nynymike opened this issue 10 years ago • 1 comments

When I run oic_flow_test, I get:

SSLError(e, request=request)\n', u'SSLError: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I tried to specify the cert with -e and the full path of the cert, but no luck. Any ideas?

nynymike avatar Dec 07 '14 06:12 nynymike

7 dec 2014 kl. 07:08 skrev Mike Schwartz [email protected]:

When I run oic_flow_test, I get:

SSLError(e, request=request)\n', u'SSLError: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I tried to specify the cert with -e and the full path of the cert, but no luck. Any ideas?

That is not what -e is intended for. You can use -x which is the same as -k for curl.

’This option explicitly allows oictest to perform ”insecure" SSL connections and transfers.'

— Roland

”Being able to think like a child is an important attribute of being an adult” - Eddie Izzard

rohe avatar Dec 07 '14 06:12 rohe