-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client certificate not sent to the server. #320
Comments
try changing files/test-cert.p12 to http://files/test-cert.p12 or provide a full path to the certificate |
@tcnh I tried your suggestion. Unfortunately, it is still not sent. `User-Agent: nl.hsac.fitnesse.fixture.util.HttpClient SSL_CLIENT_CERT: (null)` |
Hmm, I think adding your P12 certificate to a JKS keystore may solve your problem.. Could you try:
and use test-keystore.jks instead of your P12 cert? |
Tried that without luck. sorry. |
First of all, thanks for this fixture. When I try to send the client certificate, it doesn't seen to be sent to the server. On the server side, I use Apache httpd to set the client cert in "SSL_CLIENT_CERT" header and this header is empty (null). The Apache https configuration is correct as I can test this with curl command.
`
!define POST_BODY { {{{
Test Message
}}} }
|script |http client setup |
|$originalClient=|get original client|
|set client certificate from| files/test-cert.p12 |with password | changeme |key password | changeme |
|configure http test |
|script |http test |
|set content type|text/plain; Charset=UTF-8 |
|post |${POST_BODY}| to| https://dummyhost.example.com/api?isTest=true|
|check |response status|200 |
|show |response |
`
The text was updated successfully, but these errors were encountered: