openssl & dcmsign

All other questions regarding DCMTK

Moderator: Moderator Team

Message
Author
Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1459
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#16 Post by Marco Eichelberg »

Setting up the OpenSSL "trust store", i.e. the list of root certificates that OpenSSL should accept as trusted, is somewhat complex - check the OpenSSL documentation on how to do that.

Concerning the /MD mode, if you want to use that, you will have to compile OpenSSL from source on your own. We only provide pre-compiled libraries for /MT and /MTd modes.

yeganeh
Posts: 43
Joined: Mon, 2008-10-27, 07:38

#17 Post by yeganeh »

hi
as you said i use SiCertificateVerifier :

OFCondition resualt;
SiCertificate cert;
cert.loadCertificate("cacert.pem",X509_FILETYPE_PEM);

SiCertificateVerifier trustedCa;
resualt=trustedCa.addTrustedCertificateFile("cacert.pem",X509_FILETYPE_PEM);
resualt=trustedCa.verifyCertificate(cert);
if(resualt==SI_EC_VerificationFailed_NoTrust)

but this error happend :SI_EC_VerificationFailed_NoTrust.

but when i used openssl command line :
openssl verify -verbose -CAfile cacert.pem ./cacert.pem
it returns ok.
whould you please tell me what's the problem.
thanks
________
buy vaporizer
Last edited by yeganeh on Thu, 2011-02-03, 10:35, edited 1 time in total.

bydoingbylearn
Posts: 29
Joined: Mon, 2010-08-16, 10:01
Location: CHINA

Re: openssl & dcmsign

#18 Post by bydoingbylearn »

[quote="yeganeh"]hi
would please some one tell me about how to use the dcmsign.exe? I means I don't know the how the dcmsign.exe to work? I am a student, I want to know how to use dcmsign.exe simplely.Becase the help text is so short ,I don't konw the parameters real meaning.
Thank you!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 1 guest