I’m running pebble 2.2.2 on Arch with config file:
{
"pebble": {
"listenAddress": "0.0.0.0:14000",
"certificate": "/etc/pebble/ca.crt",
"privateKey": "/etc/pebble/ca.key",
"httpPort": 80,
"tlsPort": 443,
"managementListenAddress": "0.0.0.0:15000",
"ocspResponderURL": ""
}
}
and I have set up /etc/pebble/ca.{crt,key}.
On the same host, I’m running certbot like this:
TERM=dumb certbot register --email 'test@ubos.net' --agree-tos --non-interactive --server https://0.0.0.0:14000/dir --no-verify-ssl
and regardless what e-mail address I specify, I get a:
There is an existing account; registration of a duplicate account with this command is currently unsupported.
Q1: Where/how can I find the list of current accounts known by the current pebble instance? Does pebble store data persistently on disk somewhere?
Moving on, I attempt to actually obtain a cert similarly to how I do in it production against Letsencrypt:
TERM=dumb certbot certonly --webroot --email 'test@ubos.net' --agree-tos --no-self-upgrade --non-interactive --webroot-path '/ubos/http/wellknown' -d 'ubos-dev' --server https://0.0.0.0:14000/dir --no-verify-ssl
Pebble logs some invocations, certbot issues some insecure warnings, all fine I guess, but then fails with:
Account https://0.0.0.0:14000/my-account/1 not found.
Q2: Why is this? and: How did we get from the e-mail address to my-account/1
?
Finally, I discover that there is a “management interface”. Hoping that it shows me everything I need to know I hit it with the browser, but it 404’s.
Q3: Is there a documentation somewhere how to use that “management interface”?
and of course the primary question: how do I make this work so I can test certificate issuance against a local pebble instead of Letsencrypt?
Thanks,
Johannes.