square / certstrap

Tools to bootstrap CAs, certificate requests, and signed certificates.
Apache License 2.0
2.31k stars 207 forks source link

Failed to create certificate #129

Closed Ran-Xing closed 2 years ago

Ran-Xing commented 2 years ago
# build certstrap
git clone https://github.com/square/certstrap
cd certstrap
go build

# build rootca
./certstrap init --passphrase 123456 --expires "10 year" --organization "Google Trust Services LLC" --country "US" --common-name "BIG Web"

# build midca csr
./certstrap request-cert --passphrase 123456 --key-bits 4096 --organization "Google Trust Services LLC" --country "US" --common-name "GTS CA 1C3"

# sign mid crtt
./certstrap sign "GTS_CA_1C3" --passphrase 123456 --CA "Acunetix_Web" --intermediate true

# get server csr
./certstrap request-cert --passphrase 123456 --key-bits 4096 --common-name "awvs.lan" --domain "awvs.lan"

# sign server crt
./certstrap sign awvs.lan --passphrase 123456 --CA "GTS_CA_1C3"
BIG Web:  Trust certificate
GTS CA 1C3:  This certificate is valid
awvs.lan : "GTS CA 1C3" certificate does not meet the standard

BIG Web.crt

-----BEGIN CERTIFICATE-----
MIIFUDCCAzigAwIBAgIBATANBgkqhkiG9w0BAQsFADBIMQswCQYDVQQGEwJVUzEi
MCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEVMBMGA1UEAxMMQWN1
bmV0aXggV2ViMB4XDTIxMTEyNzE3MTk0OVoXDTMxMTEyNzE3MjkzOVowSDELMAkG
A1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBMTEMxFTAT
BgNVBAMTDEFjdW5ldGl4IFdlYjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC
ggIBAKykjbGBpBr7pBVgw268qSTtcdqJik+w0GxZ/ePc8FMz18r0KwGfAWKx/0eH
0EFrd1210Pa/5zTBvIeHyhhRZrc10nr3AgZwHOL45fbggFcwRl0C25cbTQ/17kAK
OTq+pmX7kaRODwE1KxF1F+PEKWImN08ZgeiwOXmDmgG8qVE8TNiyVNnBs23NNVG5
9iHbFRnaiKrWRW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A PRIVATE KEY-----
socheatsok78 commented 2 years ago

I'm having similar issue on macOS "certificate is not standards compliant".

jdtw commented 2 years ago

When you want to have an intermediate in the chain, you'll need to ensure that you set the path length restriction appropriately on the root.

As is, you have a path length restriction of zero on the root, which makes an intermediate invalid. Try certstrap init --path-length 1 for the root.