Keychain: ask for certificate from command line

command linekeychainSecurity

Is it possible to ask for certificate (.certificateRequest file) from command line?

I want to mimic behavior like Keychain -> Certificate Assistant -> Request for Certificate in Certificate Buro from command line.

Good tool /usr/bin/security does not provide requests to Certificate Buro. Maybe I wrong here.

Could anybody help with it?

Best Answer

Use the supplied "certtool" program. The "r" option allows you to generate a new certificate signing request (CSR).

Related Question