# client cert or ca bundle to server

**URL:** <https://community.f5.com/t/client-cert-or-ca-bundle-to-server/17602>\
**Category:** Technical Forums\
**Tags:** ltm, application-delivery\
**Created:** [February 3, 2017, 8:37pm UTC](https://community.f5.com/t/client-cert-or-ca-bundle-to-server/17602 "2017-02-03T20:37:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BJ\_114988](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@BJ\_114988](https://community.f5.com/u/BJ_114988)\
**Post date:** [February 3, 2017, 8:37pm UTC](https://community.f5.com/t/client-cert-or-ca-bundle-to-server/17602/1 "2017-02-03T20:37:40Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![FMA](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@FMA](https://community.f5.com/u/FMA)\
**Post date:** [February 4, 2017, 8:26am UTC](https://community.f5.com/t/client-cert-or-ca-bundle-to-server/17602/2 "2017-02-04T08:26:54Z")

</div>

Hey,

Here is my template I use for such tasks:

If your key has no password protection:

```tcl
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_key

```

In case there is a password, but it within brackets of

```tcl
--pass""

```

argument.
