I am new to MacOS. Is there any existing solutions using swift or obejctive-c or c#, java for creating CSR programming on MacOS operating system?
I try the embedded framework using GitHub - cbaker6/CertificateSigningRequest: Generate a certificate signing request (CSR) programmatically on iOS/macOS/watchOS/tvOS devices, however I always got the publicKey not generated (it's nil) before I could generate CSR using the publicKey.
Any suggestion?
I try the embedded framework using GitHub - cbaker6/CertificateSigningRequest: Generate a certificate signing request (CSR) programmatically on iOS/macOS/watchOS/tvOS devices, however I always got the publicKey not generated (it's nil) before I could generate CSR using the publicKey.
Any suggestion?
macOS does not have an API for CSR generation. If you’d like to see such support added in the future, I encourage you to file an enhancement request describing your requirements. Please post your bug number, just for the record.Is there any existing solutions … for creating CSR programming on
MacOS operating system?
There are third-party libraries that can do this but, as you’ve discovered, they not always easy to integrate. I haven’t used any of them, so I can’t offer any help on that front.
Another possibility is to run a command-line tool to do this work. There’s an Apple tool for this (see the certtool man page) and I believe you can also do it with the openssl tool.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"