D
David Abdala
Guest
In another thread was mentioned that there is a version of OpenSSL shipped with Progress. You need OS-COMMAND. To generate a key pair: OS-COMMAND('openssl genrsa -out 2048'), you can add a '-rand' parameter, replace 2048 with the key length you want. The key pair goes to the . Then extract public key with: OS-COMMAND('openssl rsa -in -out -outform PEM -pubout'). That lets you with the public key in and the private key in . Look the OpenSSL help (which is horrible by the way) for the command line to use for the encryption/decryption (we do signing, and sign verification, which is similar): OS-COMMAND('openssl rsautl -verify -inkey -keyform PEM -pubin -in -out ') but uses public key. Good luck.
Continue reading...
Continue reading...