Package io.smallrye.certs.chain
Class CertificateChainGenerator
java.lang.Object
io.smallrye.certs.chain.CertificateChainGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate()Configure the common name of the "leaf" certificate.Configure the Subject Alternative Names of the "leaf" certificate.
-
Constructor Details
-
CertificateChainGenerator
-
-
Method Details
-
withCN
Configure the common name of the "leaf" certificate.- Parameters:
cn- the common name, by default `localhost`- Returns:
- the current generator instance
-
withSAN
Configure the Subject Alternative Names of the "leaf" certificate.- Parameters:
san- the list of SAN, by default `DNS:localhost`- Returns:
- the current generator instance
-
generate
- Throws:
Exception
-