code: public Server jdkSsl() throws SSLException, CertificateException {
          SelfSignedCertificate cert = new SelfSignedCertificate();
          sslContext = SslContextBuilder.forServer(cert.certificate(), cert.privateKey())
                  .sslProvider(SslProvider.JDK)
                  .build();
          return this;
      }
docs: Uses autogenerated selfsigned certificate.