Funcs
Funcs : Funcs
Generate a self-signed certificate and store it in the keystore with the given alias
(alias: Str, subjectDn: Str, opts: Dict) => Obj? <su>
Generate a self-signed certificate and store it in the keystore with the given alias. A new 2048-bit RSA key will be generated and then self-signed for the given subject DN. The following options are supported for configuring the signing:
notBefore(Date): the start date for certificate validity period (default=today)notAfter(Date): the end date for the certificate validity period (default=today+365day)
This func will throw an error if an entry with the given alias already exists.