Must provide Common Name or domain
hantmac opened this issue · 4 comments
hantmac commented
First,I use the next cmd:
git clone https://github.com/square/certstrap
$ cd certstrap
$ ./build
2.I got certstrap-dev-25ea708a-darwin-amd64
in ./bin,and I exec:
./certstrap-dev-25ea708a-darwin-amd64 request-cert --ip 10.29.113.5
But, I got the error: Must provide Common Name or domain
mcpherrinm commented
You need to provide a Common Name for your certificate.
hantmac commented
You need to provide a Common Name for your certificate.
I use the request-cert
option, I also need use --common-name
?
Just like ./certstrap-dev-25ea708a-darwin-amd64 request-cert --common-name XXX --ip 10.29.113.5
?
mcpherrinm commented
Yes. If you provide a --domain it'll be used as the common name automatically, too.
hantmac commented
Yes. If you provide a --domain it'll be used as the common name automatically, too.
Thanks a lot!