# acme\_certificate account\_key\* support for sectigo CA

**URL:** <https://forum.ansible.com/t/acme-certificate-account-key-support-for-sectigo-ca/33420>\
**Category:** Ansible Project\
**Created:** [July 16, 2020, 10:39pm UTC](https://forum.ansible.com/t/acme-certificate-account-key-support-for-sectigo-ca/33420 "2020-07-16T22:39:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_Olivo](https://avatars.discourse-cdn.com/v4/letter/v/e274bd/32.png) [@Victor\_Olivo](https://forum.ansible.com/u/Victor_Olivo)\
**Post date:** [July 16, 2020, 10:39pm UTC](https://forum.ansible.com/t/acme-certificate-account-key-support-for-sectigo-ca/33420/1 "2020-07-16T22:39:40Z")

</div>

Hello,

sectigo is my SSL provider and they support the ACME protocol and I’d like to leverage the acme\_certificate module; however, Sectigo seems to use and HMAC key for authentication rather than RSA keys. is it possible to use an HMAC key with the set of acme\_\* modules for CAs such as sectigo? thanks much for any help!

-vic

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [July 17, 2020, 9:45am UTC](https://forum.ansible.com/t/acme-certificate-account-key-support-for-sectigo-ca/33420/2 "2020-07-17T09:45:46Z")

</div>

Hi,

> sectigo is my SSL provider and they support the ACME protocol and I'd  
> like to leverage the acme\_certificate module; however, Sectigo seems  
> to use and HMAC key for authentication rather than RSA keys. is it  
> possible to use an HMAC key with the set of acme\_\* modules for CAs  
> such as sectigo? thanks much for any help!

you also need a RSA/ECC account key for Sectigo (that's a ACME  
requirement they can't change). The HMAC key is used for External  
Account Binding, to link the ACME account (associated to the RSA/ECC  
key) to the Sectigo account. According to RFC8555  
([https://tools.ietf.org/html/rfc8555#section-7.3.4](https://tools.ietf.org/html/rfc8555#section-7.3.4), External Account  
Binding requires a MAC key and a key identifier, which are needed  
during account registration.

I didn't yet have time to look at that more closely, but I'm interested  
in implementing support for that eventually. (Test mini test CA we are  
using in CI, Pebble, now also supports External Account Binding, so we  
can even test it before trying it out with a real account 🙂 )

I've created an issue  
([https://github.com/ansible-collections/community.crypto/issues/89](https://github.com/ansible-collections/community.crypto/issues/89)) to  
track this.

If you want to use the acme\_\* modules right now, you need to use a  
different ACME client (which supports External Account Binding) to  
create an ACME account at Sectigo that's associated to your Sectigo  
account, and export the ACME account key (will be an RSA or an ECC  
private key) in PEM format. Then you can use the acme\_\* modules with  
that account.

(Please note that I don't have access to a Sectigo account, so I cannot  
test whether the modules work fine with Sectigo's ACME implementation.  
So it could be that other things go wrong.)

Cheers,  
Felix

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [August 9, 2020, 2:54pm UTC](https://forum.ansible.com/t/acme-certificate-account-key-support-for-sectigo-ca/33420/3 "2020-08-09T14:54:13Z")

</div>

Hi,

> \> sectigo is my SSL provider and they support the ACME protocol and  
> \> I'd like to leverage the acme\_certificate module; however, Sectigo  
> \> seems to use and HMAC key for authentication rather than RSA keys.  
> \> is it possible to use an HMAC key with the set of acme\_\* modules  
> \> for CAs such as sectigo? thanks much for any help!

if you're still interested in this, I started implementing External  
Account Binding for acme\_account in  
[https://github.com/ansible-collections/community.crypto/pull/100](https://github.com/ansible-collections/community.crypto/pull/100).

Cheers,  
Felix
