rohe / oictest

OAuth2 and OpenID Connect test tools
Other
39 stars 21 forks source link

How to specify CA certificate for oic_flow_tests ? #26

Open nynymike opened 9 years ago

nynymike commented 9 years ago

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?

rohe commented 9 years ago

7 dec 2014 kl. 07:08 skrev Mike Schwartz notifications@github.com:

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