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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:40:13+00:00 2026-06-10T12:40:13+00:00

When I used openssl APIs to validate server certificate (self signed), I got following

  • 0

When I used openssl APIs to validate server certificate (self signed), I got following error :

error 19 at 1 depth lookup:self signed certificate in certificate
chain

As per openssl documentation, this error (19) is

“X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: self signed certificate in
certificate chain – the certificate chain could be built up using the
untrusted certificates but the root could not be found locally.”

Why this error occurs ? Any problems with my server certificate ?

  • 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-10T12:40:14+00:00Added an answer on June 10, 2026 at 12:40 pm

    You have a certificate which is self-signed, so it’s non-trusted by default, that’s why OpenSSL complains. This warning is actually a good thing, because this scenario might also rise due to a man-in-the-middle attack.

    To solve this, you’ll need to install it as a trusted server. If it’s signed by a non-trusted CA, you’ll have to install that CA’s certificate as well.

    Have a look at this link about installing self-signed certificates.

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

Sidebar

Related Questions

I want to create a self-signed-certificate in PHP 5.x. with my own (alternative) openssl
If openssl (e.g. x509 or s_client) thinks a DER encoded x509 self-signed certificate is
Why do i got different ciphertexts when i used openssl aes command tools and
I used CouchDB 1.1.1 with self-signed certs fine for some time. Then, I purchased
I am attempting to create a keystore and truststore file from a self-signed certificate,
I wonder if PHP's OpenSSL extension can be used to generate private/public key/certificate pairs?
I am using the following command to create a certificate request: openssl req -config
I'm reading this article about how to allow a self-signed cert to be used
I used a simple fork() to simulate client / server then a very simple
I have an algorithm that uses the following OpenSSL calls: HMAC_update() / HMAC_final() //

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.