generating certificate with openssl and ssh-keygen for rsa and pkcs