Creating a keystore and self-signed X.509 certificate for TLS/SSL using keytool utility provided by Java

Solution Verified - Updated -

Issue

  • How to create a keystore and selfsigned certificate.

Environment

  • Java application that needs SSL/TLS certificates. For example:
    • Red Hat JBoss Enterprise Application Platform 5.x
    • Red Hat JBoss Enterprise Application Platform 6.x
    • Apache Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content