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 8418673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:23:41+00:00 2026-06-10T02:23:41+00:00

I am new to https configuration in tomcat. I googled a lot but that

  • 0

I am new to https configuration in tomcat. I googled a lot but that did not solve my problem.
I have an ec2 machine and tomcat deployed on it. I tried to create self signed certificate , which was easy to generate.I used my domain http://www.test.com(changed test with my server name) and keystore file was generated. Then I edited conf/server.xml for https configuration as described in ssl howto of tomcat docs.But https is not working. Though when I do “curl https:// localhost :8443 -k ” I can get response but it is not working in browser. Takes to long to respond and boom I am done with nothing. Do I need a certificate or It will work with keystore file only? Please tell me .
Please help me out
Thanks

  • 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-10T02:23:42+00:00Added an answer on June 10, 2026 at 2:23 am

    Hi Thanks for you answer, I found my issue and would like explain my resolution
    1.) Curl was working but it was not responding in browser . I had to open port 8443 manually from security groups in aws. It was working then :).

    2.) For all others if they face with the problem “Failed to establish chain from reply”
    i) please check your keystore file. Is it the same used to generate CSR?
    ii) Install intermediate certificates provided by your certificate authority.
    For some of them you can follow
    https://www.sslcertificaten.nl/download/Root_Certificaten/
    use alias primary and secondary respectively
    $JAVA_HOME/bin/keytool -import -alias primary -keystore sslkey -trustcacerts -file primary_cert.crt -storepass mypass

    $JAVA_HOME/bin/keytool -import -alias secondary -keystore sslkey -trustcacerts -file secondary_cert.crt -storepass mypass
    iii) finally import your certificate
    $JAVA_HOME/bin/keytool -import -alias tomcat -keystore sslkey -trustcacerts -file www_mydomain_com.p7b -storepass mypass

    Hope this helps
    cheers

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

Sidebar

Related Questions

It seems that nginx does not support chunked requests well. But I'm trying to
I have a web project that used to use Forms Authentication. I have new
I'm new in Spring Framework (2.5.6) and I have Hibernate integration problem on Glassfish
I have some third party plugins that are not available publicly. I would like
I have installed and configured tomcat+solr on my personal linux machine and windows as
Still quite new to Python. I have a problem similar to this question .
I'm very new to HTTPS/SSL so excuse my lack of knowledge. Right now I'm
HttpGet request = new HttpGet(https://192.168.1.140:8732/...); I wonder why I can only send successfully for
I just create a new repo https://github.com/tolbard/ember-moving . In this repo I extend the
I'm new to the twitter API https://dev.twitter.com/docs/api and I would like to incentivize users

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.