Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8917819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:35:16+00:00 2026-06-15T05:35:16+00:00

I have a JBoss server and I want to enable it’s ssl capabilities. i

  • 0

I have a JBoss server and I want to enable it’s ssl capabilities. i read and made the modifications in server.xml in jbossweb-tomcat55.sar; But as it seems I didn’t understand how to create and add the certificate the right way.
Can you please correct me with the right steps ?

I did it like this: I generated a keystore file, then i generated a .pem file using keytool -export. Then I used keytool -import to import the file.pem. then in the server.xml file I wrote the password and the location to the imported certificate.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:35:17+00:00Added an answer on June 15, 2026 at 5:35 am

    It would have been better if you had posted the keytool sentences you’ve used to generate the certificates, but I guess that you were trying to generate a selfsigned certificate. For that, first you should generate a public – private key pair, the command to achieve it looks like:

    keytool -genkey -alias yourAliasOrDomainName -keyalg RSA -keystore yourKeyStoreName.jks -keysize 2048
    

    To get the certificate (public key certificate) you’ve to use the export command (that’s the file you’ve to issue to the client)

    keytool -export -alias yourAliasOrDomainName -keystore youKeyStoreName.jks -file youServer.cer 
    

    And finally, you’ve to place the keystore file in your server, and set up the HTTP / SSL Connector, specifying the keystore file and its password (but not the domain password). Something like:

     <Connector protocol="HTTP/1.1" SSLEnabled="true" 
           port="8443" address="${jboss.bind.address}"
           scheme="https" secure="true" clientAuth="false" 
           keystoreFile="${jboss.server.home.dir}/conf/yourKeyStoreName.jks"
           keystorePass="yourKeyStorePassWord" sslProtocol = "TLS" />
    

    Note that in the Connector you’ve to specify the Keystore file, not the certificate!!!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a server on our company intranet that runs JBoss. I want to
Right now I have a JBoss application server and I want to setup an
I want to schedule a job in Jboss and websphere server. I have a
I have used EJB and have started it on JBOSS Server. I want to
I have a JBoss server (Server A) that is publishing messages on a topic.
I have a web application deployed on a jboss server running on a unix
I have code which performs query on Jboss server. It has JNDI based datasource
So we have three FLEX controls hosted within a JBOSS server instance, and an
I have a Spring application deployed in JBoss EAP server, using the following settings:
I have a web application running in a jboss application server (But it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.