Re: Multiple calls to ERR_load_crypto_string()

2006-03-23 Thread Nils Larsch
Fukuba, Yoshiki wrote: Hi, After multiple calls to ERR_load_crypto_string(), we cannot get error message using ERR_error_string(). A short sample is as follows: = #include openssl/err.h int main() { ERR_load_crypto_strings(); printf(%s\n,ERR_error_string(101163138,NULL));

how to add attribute to x509 extension

2006-03-23 Thread Saurabh Arora
hi i am using openssl toolkit and not custom source code to the following operation : - i have to add a custom attribute say : CertVersionID ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, issuerNameHash OCTET STRING issuerKeyHash OCTET STRING

Ref : Re: SSLCARevocationFile

2006-03-23 Thread abel . nivault
OK I found my problem verifying my crl. Pb was that certificate where signed by CA root instead of CA. thank for CAfile option that verify CRL michael Dorrian [EMAIL PROTECTED] Envoyé par : [EMAIL PROTECTED] 23/03/2006 02:38 Veuillez répondre à openssl-users Pour :

[Newbie] Conversion PEM -- DER (pkcs7) fails with demo certificate

2006-03-23 Thread Rainer Menzner
Dear OpenSLL users, first of all, let me point out that I'm a total newbie in the area of encryption. So maybe, my question could sound stupid ... I'm using OpenSSL V. 0.9.8a in order to experiment with pfx-files and binary certificate files on Win32. I did: 1) Create a personal information

Re: [Newbie] Conversion PEM -- DER (pkcs7) fails with demo certificate

2006-03-23 Thread Olaf Gellert
Rainer Menzner wrote: 2) Create a binary encoded DER file as a public certificate: openssl.exe pkcs7 -inform PEM -outform DER -in pca-cert.pem -out test1.cer -text Well, what do you need? If you just want a DER file for a single certificate, just use: openssl x509 -in pca-cert.pem

DES3 padding

2006-03-23 Thread a_k_ (sent by Nabble.com)
I am using the DES_ecb3_encrypt function of OpenSSL library for DES3 ECB encryption/decryption. Can I use this function in order to decrypt strings encrypted by Java Cryptography Architecture API - DES3 ECB mode with the PKCS5Padding padding scheme? What type of padding is used in the

Re: Multiple calls to ERR_load_crypto_string()

2006-03-23 Thread Kyle Hamilton
On 3/23/06, Nils Larsch [EMAIL PROTECTED] wrote: multiple calls to ERR_load_crypto_strings() are harmless (well the function is not reentrant but that's not important here) the problem is that you call ERR_free_strings() between these two calls. ERR_load_crypto_strings() sets a static status