Re: [openssl-users] Example code to add several CRL distribution points

2017-11-24 Thread Dirk Menstermann
Thanks a lot Dave. That helped. Bye Dirk On 23.11.2017 18:04, Dave Coombs wrote: > Hi Dirk, > > First point: you are populating distpoint->name.relativename (which is a > union member) but setting the discriminator distpoint->type to 0, which > indicates to use fullname rather than relativenam

Re: [openssl-users] Example code to add several CRL distribution points

2017-11-23 Thread Dave Coombs
Hi Dirk, First point: you are populating distpoint->name.relativename (which is a union member) but setting the discriminator distpoint->type to 0, which indicates to use fullname rather than relativename. So your structure will not be interpreted correctly. In any case, I think you want to p

Re: [openssl-users] Example code to add several CRL distribution points

2017-11-23 Thread Dirk Menstermann
Thanks Dave, It seems that I do something wrong when filling the STACK_OF(DIST_POINT): X509_NAME_ENTRY *nameEntry = X509_NAME_ENTRY_new(); X509_NAME_ENTRY_set_data (nameEntry, V_ASN1_IA5STRING /*MBSTRING_ASC*/, (const unsigned char*) "http://example.com/";, 19); S

Re: [openssl-users] Example code to add several CRL distribution points

2017-11-22 Thread Dave Coombs
Hi, You can use X509V3_EXT_i2d(NID_crl_distribution_points, critical, sk) where sk is a STACK_OF(DIST_POINT) that you have previously filled with multiple URIs. Cheers, -Dave > On Nov 22, 2017, at 06:58, Dirk Menstermann wrote: > Hi, > > can anybody share example code to add more than 1 CR

[openssl-users] Example code to add several CRL distribution points

2017-11-22 Thread Dirk Menstermann
Hi, can anybody share example code to add more than 1 CRL distribution point to a certificate? The below works only for one URI: X509_EXTENSION *ext = X509V3_EXT_conf_nid (NULL, &v3ctx, NID_crl_distribution_points, (char*) "URI:http://exmaple.com/crl";); X509_add_ext (certificate, ext, -1); Tha

questions about CRL Distribution Points extension in a certificate

2008-09-11 Thread JeanYiYi
Dear all: I am new in openssl. I have some questions regarding to 'CRL Distribution Points extension'. I did read the RFC. but it makes me more confused. :-(. a) a certificate has one and only one 'CRL Distribution Points extension'. What's configured in this extensi

AW: Parsing certificate to find CRL distribution points

2008-05-06 Thread Wockenfuß , Frank
enssl-users@openssl.org > Betreff: Re: Parsing certificate to find CRL distribution points > > Hi Frank > > On May 6, 2008 03:57:01 am Wockenfuß, Frank wrote: > > Hi all, > > > > I have a problem getting the distribution points out of a X509 > > certificate program

Re: Parsing certificate to find CRL distribution points

2008-05-06 Thread Patrick Patterson
ing the certificate I want to look for in the CRL. > But how do I go on to get the CRL distribution points out of the X509 > extensions? > Take a look at the X.509 handling code in WvStreams. http://code.google.com/p/wvstreams/ it's in the crypto subdirectory of the main source ta

Parsing certificate to find CRL distribution points

2008-05-06 Thread Wockenfuß , Frank
distribution points out of the X509 extensions? Best regards Frank Wockenfuß __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List

Re: How to create a certificate with 2 CRL distribution points?

2007-11-12 Thread Ted Zeng
Thanks. I actually uses two config files. Once I update the other config file, the certificate has both Distribution Points. Ted Zeng On 11/10/07 5:36 AM, "Dr. Stephen Henson" <[EMAIL PROTECTED]> wrote: > On Fri, Nov 09, 2007, Ted Zeng wrote: > >> >> Hi, >> >> I use Mac OS X 10.4.10 to cre

Re: How to create a certificate with 2 CRL distribution points?

2007-11-10 Thread Dr. Stephen Henson
On Fri, Nov 09, 2007, Ted Zeng wrote: > > Hi, > > I use Mac OS X 10.4.10 to create a certificate with two DRL distribution > points. I have been able to create certs with one distribution point. > > Here is how I set in the conf file: > > [ certificate_extensions ] > basicConstraints = CA:

Re: How to create a certificate with 2 CRL distribution points?

2007-11-09 Thread Ted Zeng
I take the information from this web page: http://www.openssl.org/docs/apps/x509v3_config.html Which has the following: crlDistributionPoints=URI:http://myhost.com/myca.crl crlDistributionPoints=URI:http://my.com/my.crl,URI:http://oth.com/my.crl Ted Zeng Adobe Systems Inc. On 11/9/07 8:31 PM, "R

Re: How to create a certificate with 2 CRL distribution points?

2007-11-09 Thread Rodney Thayer
Ted Zeng wrote: > Hi, > > I use Mac OS X 10.4.10 to create a certificate with two DRL distribution > points. I have been able to create certs with one distribution point. > > Here is how I set in the conf file: > > [ certificate_extensions ] > basicConstraints = CA:false > extendedKeyUsage

How to create a certificate with 2 CRL distribution points?

2007-11-09 Thread Ted Zeng
Hi, I use Mac OS X 10.4.10 to create a certificate with two DRL distribution points. I have been able to create certs with one distribution point. Here is how I set in the conf file: [ certificate_extensions ] basicConstraints = CA:false extendedKeyUsage =codeSigning crlDistributionPoin

Re: Multiple CRL Distribution Points ?

2002-11-28 Thread Karl-Michael Werzowa
Hi, Stephane! Use crlDistributionPoints=@crl_section [crl_section] URI.1=. URI.2=. URI.3=. Best regards, Michael Am 2002-11-28 15:24 Uhr schrieb "Stephane Spahni" unter <[EMAIL PROTECTED]>: > Hello, > > I am trying to generate a certificate with tw

RE: Multiple CRL Distribution Points ?

2002-11-28 Thread Muralidhar K (SSG) - CTD, Chennai.
The CRL Distribution points is a list of CRL distribution point. You need to create a single CRL Distribution points list and add each CRL distribution point. Basically the syntax is cRLDistributionPoints ::= { CRLDistPointsSyntax } CRLDistPointsSyntax ::= SEQUENCE SIZE (1

Multiple CRL Distribution Points ?

2002-11-28 Thread Stephane Spahni
Hello, I am trying to generate a certificate with two CRL Distribution points. But the problem is that I generate two SEQUENCE instead of one containing the two distribution points. How could I do it correctly ? Do I need to encode all the stuff at hand ? Thanks ! Stephane PS: The reason why I

Re: CRL Distribution points and CA hierarchy

2002-05-16 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Wed, 15 May 2002 14:06:41 +0200, "Maxime Dubois" <[EMAIL PROTECTED]> said: maxime.dubois> I have 3 CAs: 1 rootCA and two sub CAs (subCA1 and subCA2) signed by rootCA. maxime.dubois> The CDP in subCA1 and subCA2 certs points to the rootCA CRL. maxime.dubois> The

CRL Distribution Points...

2001-04-16 Thread Aslam
Hi, A x509v3 certificate can have more than one CRL Distribution Point Extensions, in this case is it certain that all the Distribution Points corresponds to the same CRL. Thanks Aslam __ OpenSSL Project

Re: CRL Distribution Points

2001-04-02 Thread Ferdinando Ricchiuti
You can add any URL or URN identifiers. However, some applications may or may not recognize your identifier. If your application is Netscape Navigator or IE, there are no problems sice both supports LDAP URL schema. Both LDAP and HTTP are the most widely used. Reiner Buehl wrote: > > Hello, >

RE: CRL Distribution Points

2001-04-02 Thread Reiner Buehl
Hello, > All you need is to modify the openssl.cnf and insert > a line like this in the Certificate Extensions section > > crlDistributionPoints=URI:http://www.my.com/my.crl,URI:http://www. > oth.com/my.crl > > See doc/openssl.txt in the distribution source tree for more > information. Is a ht

Re: CRL Distribution Points

2001-04-02 Thread Ferdinando Ricchiuti
All you need is to modify the openssl.cnf and insert a line like this in the Certificate Extensions section crlDistributionPoints=URI:http://www.my.com/my.crl,URI:http://www.oth.com/my.crl See doc/openssl.txt in the distribution source tree for more information. Glenn Horton wrote: > >

Re: cannot handle CRL Distribution points

2000-12-22 Thread Dr S N Henson
Marco Donati wrote: > > i cannot handle the CRL Distribution Points with the following code: > [various examples omitted] > > Where's the mistake? > Is there any FAQ or documentation on these functions? > You can try and do what this code is attempting: manually de

cannot handle CRL Distribution points

2000-12-20 Thread Marco Donati
i cannot handle the CRL Distribution Points with the following code: #include "openssl\x509.h" #include "openssl\x509v3.h" X509_EXTENSION*ext=NULL; ASN1_OCTET_STRING*extValue=NULL; STACK_OF(DIST_POINT)*crlDPStack=NULL; X509 *x509=...a valid X509v3 certificate extIndex

Re: IE5 and CRL distribution points.

2000-07-19 Thread Dr Stephen Henson
Darren Reed wrote: > > IE5 appears to insist on adding a number (01, etc) on the end of the > Netscape CA Revocation Url and if not present, reports an error about > not being able to verify the user because it can't get a CRL. > This is correct behaviour. See: http://home.netscape.com/eng/sec

IE5 and CRL distribution points.

2000-07-17 Thread Darren Reed
TO try and keep IE all nice and happy, I've included CRL URL's in some certs I'm generating. For fun (NOT!) I've used different extensions in the CA cert and the "user" cert: CA: X509v3 extensions: X509v3 CRL Distribution Points: