question: public static CertChainKeyPair generateSigned ( String fqdn , X509Certificate issuerCertificate , PrivateKey issuerPrivateKey ) { try { return generateCertificateAndSign ( fqdn , issuerCertificate , issuerPrivateKey , getServerExtensions ( issuerCertificate ) ) ; } catch ( CertificateException | OperatorCreationException | NoSuchAlgorithmException | IOException e ) { throw new RuntimeException ( String . format ( "Failed to generate server certificate, reason: %s" , e . getMessage ( ) ) , e ) ; } }
target:  Generates a signed certificate and a private key.