Hsts Glassfish, I generated a certificate with this command: openssl genpkey -algorithm RSA -out private.