Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: totusmel.com
I ran this command: So many things...see below for details
It produced this output: A lot...see below for details
My web server is (include version): Various, trying to get a wildcard cert to work with pfSense to do SSL reverse proxying for various servers
The operating system my web server runs on is (include version): Mostly Linux
My hosting provider, if applicable, is: Google
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): pfSense's ACME Certificate generation
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): It's complicated, but I think 1.32.0
Hi Everyone,
I have a domain that is hosted through Google that I would like to setup a wildcard certificate, but going through the ACME certificate creation process in pfSense gives me the following result result:
[Fri Nov 11 06:48:12 PST 2022] Register account Error: {"type":"urn:ietf:params:acme:error:externalAccountRequired","detail":"External Account Binding is required for new accounts. See https://tools.ietf.org/html/rfc8555#section-7.3.4 for more information. request-id: PcoI/gxPD2IIqc78EbvgqA==","requestID":"PcoI/gxPD2IIqc78EbvgqA=="}
I went to RFC 8555: Automatic Certificate Management Environment (ACME) and determined that I needed to register an account somehow with Google to accomplish this.
I eventually stumbled upon https://cloud.google.com/blog/products/identity-security/automate-public-certificate-lifecycle-management-via--acme-client-api to I thought start some of this process, which then led me to certbot to get things registerd.
The certbot wanted specific keys from Google to work though, so I eventually got into Google Cloud and ran the following [some info obscured]:
gcloud projects add-iam-policy-binding project-name --member=user:email-address@gmail.com --role=roles/publicca.externalAccountKeyCreator
gcloud alpha publicca external-account-keys create
Updated property [core/project].
Updated IAM policy for project [project-name].
bindings:
- members:
- user:email-address@gmail.com
role: roles/owner
- members:
- user:email-address@gmail.com
role: roles/publicca.externalAccountKeyCreator
etag: tag
version: 1
Created an external account key
[b64MacKey: eab-hmac-key
keyId: eab-key]
I then ran the following on Ubuntu rasberry pi [again, some info obscured]:
uquevedo@raspi:~$ sudo certbot register --email email-address@gmail.com --no-eff-email --server "https://dv.acme-v02.api.pki.goog/directory" --eab-kid "eab-key" --eab-hmac-key "eab-hmac-key"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at https://pki.goog/GTS-SA.pdf. You must agree
in order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: yes
Account registered.
I thought this was enough to get things registered, but that doesn't seem to be the case? Because when I go to generate a key again using the Google ACMEv2 in pfSense, I still get the following:
[Sat Nov 12 07:26:15 PST 2022] Register account Error: {"type":"urn:ietf:params:acme:error:externalAccountRequired","detail":"External Account Binding is required for new accounts. See https://tools.ietf.org/html/rfc8555#section-7.3.4 for more information. request-id: PcoI/gxPD2IIqc78EbvgqA==","requestID":"PcoI/gxPD2IIqc78EbvgqA=="}
Navigating Google's myriad of services and products is so confusing and I'm not sure I've setup anything properly?
Has anyone gotten this working through Google for the wildcard SSL certificates with the Google ACMEv2 key creation?
Any help or advice would be greatly appreciated!