code: public TLSCertificateKeyPair serverCert(String subjectAlternativeName) {
          try {
              return createCert(CertType.SERVER, subjectAlternativeName);
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }
docs: *
  Creates a TLS server certificate key pair with the given DNS subject alternative name
  @param subjectAlternativeName the DNS SAN to be encoded in the certificate
  @return a TLSCertificateKeyPair