im trying to achieve the following command line in Objective-C or Swift.
openssl x509 -req -in 20060.csr -CA root.pem -CAkey root.key -CAcreateserial -out 20060.pem -days 825 -sha256
I have compiled and built openssl to my iOS project, and successfully created the 20060.csr file with some KeyChain functions. I Already have the root.pem and root.key files.
How can I achieve this in Objc, programmatically?