Forum Discussion
client cert or ca bundle to server
while doing curl or openssl how to present client cert or ca bundle to server
i am doing it to test https health monitor
i tried doing it by using
curl -v --cert --key
but it always giving error saying
- unable to use client certificate (no key found or wrong pass phrase?)
- Closing connection 0 curl: (58) unable to use client certificate (no key found or wrong pass phrase?)
Can someone tell me how to specify path in it with example ?
i am looking for exact syntax
my certs are stored in /config/ssl/ssl.crt
and keys in /config/ssl/ssl.key
also let me know if format of certs or key matters ?
1 Reply
- FMA
Nimbostratus
Hey,
Here is my template I use for such tasks:
If your key has no password protection:
curl -k -v https://yourdsturlhere.com --pass"" --cert /config/filestore/files_d/Common_d/certificate_d/\:Common\:your_cert --key /config/filestore/files_d/Common_d/certificate_key_d/\:Common\:your_keyIn case there is a password, but it within brackets of
argument.--pass""
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com