```
$ rcodesign generate-certificate-signing-request --help
Generates a certificate signing request that can be sent to Apple and exchanged for a signing certificate
Usage: rcodesign[EXE] generate-certificate-signing-request [OPTIONS]
Options:
--csr-pem-path <CSR_PEM_PATH>
Path to file to write PEM encoded CSR to
-v, --verbose...
Increase logging verbosity. Can be specified multiple times
--smartcard-slot <SMARTCARD_SLOT>
Smartcard slot number of signing certificate to use (9c is common)
--smartcard-pin-env <SMARTCARD_PIN_ENV>
Environment variable holding the smartcard PIN
--keychain-domain <KEYCHAIN_DOMAIN>
(macOS only) Keychain domain to operate on [possible values: user, system, common, dynamic]
--keychain-fingerprint <KEYCHAIN_FINGERPRINT>
(macOS only) SHA-256 fingerprint of certificate in Keychain to use
--pem-source <PEM_SOURCE>
Path to file containing PEM encoded certificate/key data
--der-source <DER_SOURCE>
Path to file containing DER encoded certificate data
--p12-file <P12_PATH>
Path to a .p12/PFX file containing a certificate key pair
--p12-password <P12_PASSWORD>
The password to use to open the --p12-file file
--p12-password-file <P12_PASSWORD_FILE>
Path to file containing password for opening --p12-file file
--remote-signer
Send signing requests to a remote signer
--remote-public-key <REMOTE_PUBLIC_KEY>
Base64 encoded public key data describing the signer
--remote-public-key-pem-file <REMOTE_PUBLIC_KEY_PEM_FILE>
PEM encoded public key data describing the signer
--remote-shared-secret <REMOTE_SHARED_SECRET>
Shared secret used for remote signing
--remote-shared-secret-env <REMOTE_SHARED_SECRET_ENV>
Environment variable holding the shared secret used for remote signing
--remote-signing-url <REMOTE_SIGNING_URL>
URL of a remote code signing server [default: wss://ws.codesign.gregoryszorc.com/]
-h, --help
Print help
```