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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:30:29+00:00 2026-06-11T16:30:29+00:00

The setup: I have a Jetty (8.1.5 if it matters) Server running a simple

  • 0

The setup: I have a Jetty (8.1.5 if it matters) Server running a simple site over https, using a self-signed certificate (it’s intra-net so this is not an issue). This works.

However, in order to provide a better user experience I would like to serve up the SSL certificate for download and installation, with the correct content-type “application/x-x509-ca-cert”. In order to do this I need two things:

  1. A way to obtain the certificate from the KeyStore that Jetty uses. I know I can do this using the OpenSSL client, but I really need to do this programmatically, and preferably without having to open a new connection to the server.

  2. A way to offer this certificate to the user in the correct format. I’m pretty convinced I can do this by writing a custom HttpServlet to do this, but is there a smarter/quicker way?

  • 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-11T16:30:30+00:00Added an answer on June 11, 2026 at 4:30 pm

    I wrote a bit of code that would validate certificates of signed jars a while back, you can probably use it for inspiration for a servlet that could have a reference to a keystore and return certs. It might help you get started at least.

    https://github.com/jetty-project/jetty-webapp-verifier/blob/master/src/main/java/org/mortbay/jetty/webapp/verifier/rules/JarSignatureRule.java

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

Sidebar

Related Questions

I have setup Custom Domain https://developers.google.com/appengine/docs/domain I have uploaded An SSL certificate and private
I have setup a simple test project for the EF 4.1 RC, using Code-First
I have a jetty server running which responds to get requests. If I make
I have setup ability for a user to specify some settings using the in-built
I have setup some simple associations in my rails app: resources :properties do resources
I am using Jetty 7 with JBoss Seam and have 2 Java Mail Sessions
I have the following scenario: Server: Jetty (with configured JAAS) Client: Jersey invoked via
Setup: I have a deployed webapp on a server. And I have another machine
I have setup simple scenario to learn about databinding in XAML. After some thinking
I have an application running under Jetty, and I want the application to return

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.