Hello,
I just installed the ICS components and this is my first "touch" with them. My task is that on a system where OpenSSL-Win64 v3.1 is installed. from Delphi I execute the following commands whose scripts look like:
openssl cms -sign -md sha256 -in $inputfile -signer "$ssldestination\pair.pem" | openssl cms -encrypt -aes-256-cbc -outform DER -out $outputfile "$ssldestination\cert.pem"
pair.pem is in private key form
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
…
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
….
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
….
-----END CERTIFICATE-----
Can someone direct me?
I can do this as a PS script, but I don't like that approach.
Both the key and all the certificates are valid, because as I said the execution using the PS script is correct.
Thanks in advance.
Bojan