Skip to main content

Posts

Showing posts from April, 2015

Self signed certificate configuration for WildFly server

# Create self signed certificate keytool -genkey -alias YourCertificateName -keyalg RSA -keystore YourCertificateName.jks -validity 9999 -keysize 2048 -storepass 123456 -keypass 123456 --dname "CN=ercan,OU=DevUnit,O=company.com,L=Istanbul,S=Istanbul,C=TR" # Delete certificate keytool -delete -alias YourCertificateName -keystore YourCertificateName.jks # list certificate keytool -list -keystore YourCertificateName.jks # Insert the following into your standalone.xml in the security-realms section. <security-realm name="ssl-realm">   <server-identities>        <ssl>            <keystore path="YourCertificateName.jks" relative-to="jboss.server.config.dir" keystore-password="123456" alias="YourCertificateName" key-password="123456" />        </ssl>    </server-identities> </security-realm> # Add the following line to the server section of the stan...