certificates/acme
Oleksandr Kovalchuk 0218018cee
Generate Subject if forceCN and Subject is empty
When `forceCN` is set in provisioner configuration and
Subject.CommonName is empty, set Subject.CommonName to the first SAN
from the CSR to follow the letsencrypt's boulder behavior. This is done
in order to support system which require certificate's Subject field to
be non-empty.

N.B. certbot does not send Subject in its certificate request and relies
on similar behavior of letsencrypt.

Closes https://github.com/smallstep/certificates/issues/259
2020-05-14 13:23:42 +03:00
..
api ACME accountUpdate ignore fields not recognized by the server. 2020-05-08 11:52:30 -07:00
account.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
account_test.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
authority.go Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00
authority_test.go Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00
authz.go Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00
authz_test.go Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00
certificate.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
certificate_test.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
challenge.go Tiny finishes. 2020-02-07 19:57:29 -05:00
challenge_test.go Small test fixes. 2020-02-11 09:57:28 -05:00
common.go Merge pull request #128 from jkralik/returnCertChain 2019-10-18 14:00:18 -07:00
directory.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
directory_test.go wip 2019-09-19 13:17:45 -07:00
errors.go Should be returning status code 400 for ACME Account Not Found. 2020-02-01 17:35:41 -08:00
nonce.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
nonce_test.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
order.go Generate Subject if forceCN and Subject is empty 2020-05-14 13:23:42 +03:00
order_test.go Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00