code: public B tlsSelfSigned() throws SSLException, CertificateException {
          final SelfSignedCertificate ssc = new SelfSignedCertificate(defaultHostname);
          return tls(ssc.certificate(), ssc.privateKey());
      }
docs: Configures SSL or TLS of this {@link VirtualHost} with an auto-generated self-signed certificate.
  <strong>Note:</strong> You should never use this in production but only for a testing purpose.
  
  @throws CertificateException if failed to generate a self-signed certificate