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

  • Home
  • SEARCH
  • 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 8596499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:41:40+00:00 2026-06-12T00:41:40+00:00

I have a request where i need to write the content on db from

  • 0

I have a request where i need to write the content on db from application running in Server A to Same application running in another instance Server B.

DB read write are via SOAP API’s

Both server do have their own client.truststore file.

From a stand alone Server C using Server A’s client.trustsrore i am able to read write to Server A’s DB
And using Server B’s client truststore am able to read write in to Server B’s DB.

Since the requirement is to read from Server A and write into Server B. I introduced a new keystore file in both the servers and i set the system.properties properly (Both keystore location and password). and this keystore was copied properly in to both servers with permissions.

I created the certificate using private key and then created keystore file using keytool command.

Since keeping the keystore file in 2 server didn’t work. It always complained unknown_certificate.
I tried to import the certificate to cacerts under /$JAVA_HOME/lib/security/. But even this gives unknow certificate with handshake exception.

Is there anything else i want to do which i am missing?

Regards
Dheeraj Joshi

  • 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-12T00:41:41+00:00Added an answer on June 12, 2026 at 12:41 am

    A certificate for an application server must match the hostname of that server. It could be the problem here since you have two different servers with two different hostnames.

    You should enter the valid hostname while in the certificate generating process when you’re asked to provide your first and last name:

    What is your first and last name?
    [Unknown]:  myserver.domain.com
    

    But in that case I’m not really sure what you could do to accomplish your task. Maybe you should have for your servers two different certificates with different corresponding hostnames. But these certificates should be signed by one parent certificate that’s trusted by your databases. Something like that.

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

Sidebar

Related Questions

I need loging all HTTP request (from any application). I have Delphi 7.0. Anybody
I need to send a request to a quote server. Each request should have
I have to write an application that is essentially a proxy server to handle
I have been tasked with obtaining a response from a SOAP request, using classic
I have request where i need to change grid formatting on drop down action
I have one XML request which I need to modify (to XML) and then
I have linq request. I need get item.Title in select. how do this? var
I have code that does a web-service request. While doing this request I need
I have the next problem: I need to process only 1 request at a
I need to make a cURL request to a https URL, but I have

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.