Re: Verify a certificate

2021-01-05 Thread Bernhard Fröhlich
Hello, just in case you want to check a webserver installation (which is not explicitly mentioned in Viktor's answer) I want to add this... In this case (IMHO) the s_client tool of openssl can do what you need. Try     openssl s_client -connect yourhost.example.org:443 -CAfile SpecialCAFile.

Re: Verify a certificate

2021-01-05 Thread Viktor Dukhovni
On Tue, Jan 05, 2021 at 01:43:12PM +0100, Yassine Chaouche wrote: > How do I detect this error with openssl tools ? are there > tools that print issuer and subject of each certificate in > a chain ? If, by chain, you mean a PEM file with one or more X509 certificates, then yes. Suppose the file

Verify a certificate

2021-01-05 Thread Yassine Chaouche
Dear list, I would like to learn how to use openssl tools to make sure a chained certificate is valid ? example : Let's say I got the Cert certificate signed by Intermdiate X, but by making the full chain certificate I inadvertly inserted Intermediate Y instead of X. The (broken) certificate ch

Re: Verify a certificate

2011-07-25 Thread Mailing List SVR
Thanks my question was already answered my original certificate was not rfc compliant and so openssl fails to verify it, thanks anyway Nicola Il 25/07/2011 17:22, lists ha scritto: On 07/19/2011 08:20 AM, Mailing List SVR wrote: Hi, I need to verify the attached certificate (cert.bin) and re

Re: Verify a certificate

2011-07-25 Thread lists
On 07/19/2011 08:20 AM, Mailing List SVR wrote: Hi, I need to verify the attached certificate (cert.bin) and read the asn1 info stored in it. I'm using the following commands: openssl smime -verify -in cert.pem -inform pem -CAfile "signer.pem" > cert.data and then: openssl asn1parse -info

Verify a certificate

2011-07-18 Thread Mailing List SVR
Hi, I need to verify the attached certificate (cert.bin) and read the asn1 info stored in it. I'm using the following commands: openssl smime -verify -in cert.pem -inform pem -CAfile "signer.pem" > cert.data and then: openssl asn1parse -inform DER -in cert.data now if the signer give me "

Verify a certificate

2011-07-18 Thread Mailing List SVR
Hi, I need to verify the attached certificate (cert.bin) and read the asn1 info stored in it. I'm using the following commands: openssl smime -verify -in cert.pem -inform pem -CAfile "signer.pem" > cert.data and then: openssl asn1parse -inform DER -in cert.data now if the signer give me "

Re: How to verify a certificate against several others

2007-07-11 Thread Florian MANACH
Hi Goetz, Thx again for your help, I finally found what was going wrong with my code. I was setting a flag to force CRL verification but I did not have a CRL stored for the CA. Now everything is running well. Thx again for your help. Regards ! -- Florian Manach NUMLOG [EMAIL PROTECTED] (+33

Re: How to verify a certificate against several others

2007-07-10 Thread Goetz Babin-Ebell
Hello Florian, --On Montag, Juli 09, 2007 09:25:01 +0200 Florian MANACH <[EMAIL PROTECTED]> wrote: I saw that it needs PEM format... but even if I convert the certs in PEM, links are created but my app still returns an error on verification. Hm. Try to store roots, intermediate certs and CR

Re: How to verify a certificate against several others

2007-07-10 Thread Florian MANACH
Hi Goetz, I saw that it needs PEM format... but even if I convert the certs in PEM, links are created but my app still returns an error on verification. Thx again for your help. -- Florian Manach NUMLOG [EMAIL PROTECTED] (+33)0130791616 Goetz Babin-Ebell a écrit : Hello Florian, --On Freit

Re: How to verify a certificate against several others

2007-07-06 Thread Goetz Babin-Ebell
Hello Florian, --On Freitag, Juli 06, 2007 09:14:41 +0200 Florian MANACH <[EMAIL PROTECTED]> wrote: OK I see but It's always not working after c_rehash ./root c_rehash ./certs c_rehash ./crls Oups: --On Donnerstag, Juli 05, 2007 14:55:59 +0200 Florian MANACH <[EMAIL PROTECTED]> wrote:

Re: How to verify a certificate against several others

2007-07-06 Thread Florian MANACH
OK I see but It's always not working after c_rehash ./root c_rehash ./certs c_rehash ./crls -- Florian Manach NUMLOG [EMAIL PROTECTED] (+33)0130791616 Goetz Babin-Ebell a écrit : Hello Florian, --On Donnerstag, Juli 05, 2007 17:59:01 +0200 Florian MANACH <[EMAIL PROTECTED]> wrote: No, I di

Re: How to verify a certificate against several others

2007-07-05 Thread Goetz Babin-Ebell
Hello Florian, --On Donnerstag, Juli 05, 2007 17:59:01 +0200 Florian MANACH <[EMAIL PROTECTED]> wrote: No, I didn't even know that function. What does it do ? It loads all certificate files (and CRL files) in the directory and generates a short 4 byte hash from the common name of the cert.

Re: How to verify a certificate against several others

2007-07-05 Thread Florian MANACH
No, I didn't even know that function. What does it do ? -- Florian Manach NUMLOG [EMAIL PROTECTED] (+33)0130791616 Goetz Babin-Ebell a écrit : --On Donnerstag, Juli 05, 2007 14:55:59 +0200 Florian MANACH <[EMAIL PROTECTED]> wrote: I have a directory where I store CA root certificates. I w

Re: How to verify a certificate against several others

2007-07-05 Thread Goetz Babin-Ebell
--On Donnerstag, Juli 05, 2007 14:55:59 +0200 Florian MANACH <[EMAIL PROTECTED]> wrote: I have a directory where I store CA root certificates. I want my app to check if a certificate is signed by the mentioned CA on the ISSUER field. In order to do this, it might look on this directory and c

How to verify a certificate against several others

2007-07-05 Thread Florian MANACH
Hi, I'm trying to devellop an app which should be able to verify if a certificate might be trusted. I have a directory where I store CA root certificates. I want my app to check if a certificate is signed by the mentioned CA on the ISSUER field. In order to do this, it might look on this dir

Re: howto verify a certificate

2007-03-17 Thread Victor Duchovni
On Sat, Mar 17, 2007 at 05:08:06PM -0400, Greg Martin wrote: > Try this: > openssl x509 -in filename.pem -text -noout > > You should see an issuer: statement that talks about the CA. > Rather depends on what the OP meant by "verify", and what context this is to be performed. -- Viktor

Re: howto verify a certificate

2007-03-17 Thread Greg Martin
Try this: openssl x509 -in filename.pem -text -noout You should see an issuer: statement that talks about the CA. \\Greg Jamie F. wrote: Hi all, I have a bit strange Q: i've created a self-signed certificate (first i created a CA (root certificate) then created another certificate from it l

howto verify a certificate

2007-03-17 Thread Jamie F.
Hi all, I have a bit strange Q: i've created a self-signed certificate (first i created a CA (root certificate) then created another certificate from it like that [http://www.tc.umn.edu/~brams006/selfsign.html]). but i can't find how will i verify that if the second certificate made from the root

Re: Verify a Certificate

2007-02-12 Thread Dr. Stephen Henson
On Mon, Feb 12, 2007, Marek Marcola wrote: > Hello, > > I have a secure connection with a buffered BIO, and after the connection > > is established, I want to verify (on th eClient) the Servers > > certificate with a Root-CA. > > How can I do this with openssl? > With functions like: > > cert

Re: Verify a Certificate

2007-02-12 Thread Marek Marcola
Hello, > I have a secure connection with a buffered BIO, and after the connection > is established, I want to verify (on th eClient) the Servers > certificate with a Root-CA. > How can I do this with openssl? With functions like: cert = SSL_get_peer_certificate(ssl); X509_STORE_load_locations(C

Verify a Certificate

2007-02-12 Thread Markus Wenke
Hello, I have a secure connection with a buffered BIO, and after the connection is established, I want to verify (on th eClient) the Servers certificate with a Root-CA. How can I do this with openssl? thanks in advance Markus _

Re: How to verify a certificate chain?

2005-05-18 Thread Olaf Gellert
Andreas Hoffmann wrote: > Hi, > how can I verify multiple single DER-encoded certificates which I > recieve from a gateway and which represent a cert-chain alltogether. > > I think this should be done like this (PseudoCode): > foreach (cert from chain) >check, if it was signed by the CA of the

How to verify a certificate chain?

2005-05-18 Thread Andreas Hoffmann
Hi, how can I verify multiple single DER-encoded certificates which I recieve from a gateway and which represent a cert-chain alltogether. I think this should be done like this (PseudoCode): foreach (cert from chain) check, if it was signed by the CA of the previous cert Check if one of the ce

you mean Network Security with OpenSSL ? RE: how do i use a CRL file to verify a certificate against?

2004-09-21 Thread Peter O Sigurdson
;         cc:                 Subject:        RE: how do i use a CRL file to verify a certificate against?         ok.  You get the CDP from the certificate, load the CRL from the CDP, verify the CRL against the root cert. to verify that the signature matches, it has not expired, etc. , then s

RE: how do i use a CRL file to verify a certificate against?

2004-09-21 Thread Lee Baydush
through all that, or you can examine some of the samples that call routines like X509_verify_cert(). -Original Message- From: Jon Bendtsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 9:50 AM To: [EMAIL PROTECTED] Subject: Re: how do i use a CRL file to verify a certifica

Re: how do i use a CRL file to verify a certificate against?

2004-09-21 Thread Charles B Cranston
Jon Bendtsen wrote: i can verify a certificate against a root certificate, with openssl verify -CAfile root.ca rsacert.pem but how do i know that the certificate i try to verify has not been revoked? At the risk of seeming to oversimply a VERY complicated issue: 1. You have been downloading

Re: how do i use a CRL file to verify a certificate against?

2004-09-21 Thread Jon Bendtsen
Den 21. sep 2004, kl. 15:43, skrev Lee Baydush: You can't tell if it has been revoked. That's why they are 'trusted roots'. If you think your root ca has been compromised, that is when you usually hit the big red panic button and shut down the shop. no no, it's not the root ca that has been rev

RE: how do i use a CRL file to verify a certificate against?

2004-09-21 Thread Lee Baydush
ECTED] Sent: Tuesday, September 21, 2004 9:39 AM To: [EMAIL PROTECTED] Subject: how do i use a CRL file to verify a certificate against? i can verify a certificate against a root certificate, with openssl verify -CAfile root.ca rsacert.pem but how do i know that the certificate i try to verify h

how do i use a CRL file to verify a certificate against?

2004-09-21 Thread Jon Bendtsen
i can verify a certificate against a root certificate, with openssl verify -CAfile root.ca rsacert.pem but how do i know that the certificate i try to verify has not been revoked? JonB __ OpenSSL Project

Re: help needed! error trying to verify a certificate

2002-11-14 Thread Charles B Cranston
"Mitchel, Jennifer (Jem)" wrote: > I have generated my key pair. I have generated my certificate > signing request sent it to my CA and gotten my certificate back... > I named it server.crt > I am trying to use ssl to verify the certificate. I have the key pair, > csr & server.crt all in /bin so

RE: help needed! error trying to verify a certificate

2002-11-14 Thread Mitchel, Jennifer (Jem)
- VMS Whacker [mailto:levitte@;stacken.kth.se] Sent: Thursday, November 14, 2002 3:20 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: help needed! error trying to verify a certificate In message <[EMAIL PROTECTED]> on Wed, 13 Nov 2002 16:10:07 -0600, "Mitchel, Jennifer (Jem)&qu