Skip to content

Commit

Permalink
Update CLI usage docs for --csr (#3677)
Browse files Browse the repository at this point in the history
With #2403 and #3046, certbot gained the ability to parse CSRs
encoded as PEM and without a SAN extension. Update the CLI usage
docs to reflect this change.
  • Loading branch information
Patrick Figel authored and bmw committed Oct 25, 2016
1 parent 98911d0 commit 1dafaec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions certbot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,10 +901,8 @@ def _create_subparsers(helpful):
'Encrypt server, set this to "".')
helpful.add("certonly",
"--csr", type=read_file,
help="Path to a Certificate Signing Request (CSR) in DER"
" format; note that the .csr file *must* contain a Subject"
" Alternative Name field for each domain you want certified."
" Currently --csr only works with the 'certonly' subcommand'")
help="Path to a Certificate Signing Request (CSR) in DER or PEM format."
" Currently --csr only works with the 'certonly' subcommand.")
helpful.add("rollback",
"--checkpoints", type=int, metavar="N",
default=flag_default("rollback_checkpoints"),
Expand Down
8 changes: 3 additions & 5 deletions docs/cli-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,9 @@ certonly:
the port Certbot listens on. A conforming ACME server
will still attempt to connect on port 80. (default:
80)
--csr CSR Path to a Certificate Signing Request (CSR) in DER
format; note that the .csr file *must* contain a
Subject Alternative Name field for each domain you
want certified. Currently --csr only works with the
'certonly' subcommand' (default: None)
--csr CSR Path to a Certificate Signing Request (CSR) in DER or
PEM format. Currently --csr only works with the
'certonly' subcommand. (default: None)

install:
Options for modifying how a cert is deployed
Expand Down

0 comments on commit 1dafaec

Please sign in to comment.