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.
openssl & dcmsign
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
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
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.
-
- Posts: 29
- Joined: Mon, 2010-08-16, 10:01
- Location: CHINA
Re: openssl & dcmsign
[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!
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!
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 1 guest