Skip to content
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

Arcane process of obtaining cert from acme-client #152

Open
savchenko opened this issue Nov 25, 2018 · 2 comments
Open

Arcane process of obtaining cert from acme-client #152

savchenko opened this issue Nov 25, 2018 · 2 comments

Comments

@savchenko
Copy link

savchenko commented Nov 25, 2018

After hours of wrangling around this error:

acme-client: transfer buffer: [{ "type": "urn:acme:error:unauthorized", "detail": "No registration exists matching provided key", "status": 403 }] (120 bytes)

I have found https://www.mail-archive.com/misc@openbsd.org/msg158174.html which provided sequence of actions that allowed to obtain cert. Not sure why requested-delete-request again was necessary, but it worked.

On the sidenote, first two snippets of code provided at Install :: Let's encrypt section don't quite work:

sed -i -e "s|^$(echo -e "\t")tls|$(echo -e "\t")#tls|" \
	-e "/# (!) TLS/ s|listen on \$IP tls port https|listen on ::1 port http|" \
	/etc/httpd.conf

returns bash: !: event not found. Not a regexp guru, but it seems like ! should be escaped.

@horia
Copy link
Contributor

horia commented Nov 25, 2018

The acme-client error, in the mailing list message, was related to "agreement url". Perhaps the key format also changed at that time, I don't recall.

Remove deprecated agreement url.
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc/acme-client.conf.diff?r1=1.5&r2=1.6&f=h

horia added a commit that referenced this issue Nov 25, 2018
[#152] Escape bang for other shells, thank you @asvc
@cypa
Copy link

cypa commented Nov 29, 2018

rm old keys (from <=6.2 era) before running the client - remove file /etc/acme/letsencrypt-privkey.pem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants