Smallstep: End-to-end encryption for distributed applications and the people who manage them. (we’re on Pacific Time)
error validating ACME Challenge at https://tinyca.lan/acme/acme/challenge/Rrk1iKFeEjDRkFu0w025Ogty17RsL2R0: client GET https://tinyca.lan/acme/acme/new-order failed: Post "https://tinyca.lan/acme/acme/challenge/Rrk1iKFeEjDRkFu0w025Ogty17RsL2R0": stream error: stream ID 17; INTERNAL_ERROR
ufw
to allow only port 443 and also set my network's firewall rules accordingly, it should be secure enough... Ideally I'd like to be able to generate SSH certificates from anywhere (whether I'm at home, which is 90% of the time these days, or out) to connect to my hosts. I've tried using Cloudflare, but testing with the step ca certificate
command yielded x509: certificate signed by unknown authority
errors. I guess I could also setup VPN to my home network (where the CA is hosted) and connect via VPN for SSH cert generation once per day if I'm not home, too...
ssh -T git@github.com
test. I've been extracting the currently active step SSH public key like this step ssh list --raw | step crypto key format --ssh
on my local machine, with output looking something like this ecdsa-sha2-nistp256 AAAAE2VjZHNhLXN...
, then adding it to my github account. However, that didn't seem to work and I keep getting Permission denied (publickey).
errors when testing SSH. I've also tried uploading the output of step ssh list --raw
, but their web UI didn't like that, even after changing the ecdsa-sha2-nistp256-cert-v01@openssh.com
head to ecdsa-sha2-nistp256
.Hello! Can somebody explain how stepca acme server checks the email in incoming requests?
I have stepca with admin@***.com
JWK provisioner created during ca init and if I use this email for ACME - all works fine.
But I can't use any other emails. I tried to add another JWK provisioner with acme@***.com
but I can't get the certificate for this email.
Can i get the certificate for other emails/provisioner emails or I should use only the first provisioner email?
I use Caddy as ACME client with simple config:
{
email acme@***.com
acme_ca https://acme.***.corp/acme/acme/directory
acme_ca_root /etc/caddy/root_ca.crt
}
Provisioner List:
[
{
"type": "JWK",
"name": "admin@***.com",
"key": {
"use": "sig",
"kty": "EC",
"kid": "***",
"crv": "P-256",
"alg": "ES256",
"x": "***",
"y": "***"
},
"encryptedKey": "***,
"claims": {
"maxTLSCertDuration": "8760h0m0s",
"defaultTLSCertDuration": "2160h0m0s"
}
},
{
"type": "ACME",
"name": "acme",
"claims": {
"maxTLSCertDuration": "2160h0m0s",
"defaultTLSCertDuration": "2160h0m0s"
}
},
{
"type": "JWK",
"name": "acme@***.com",
"key": {
"use": "sig",
"kty": "EC",
"kid": "***",
"crv": "P-256",
"alg": "ES256",
"x": "***",
"y": "***"
},
"encryptedKey": "***"
}
]
step-ca
the way to use ACME is by selecting the ACME provisioner from the provisioners drop down when you do step ca certificate
.
step ca certificate
command you’re trying to run that is failing.
--daemon
mode or just trigger task scheduler a couple times throughout day.