---
name: "rsa-keygen"
section: "8"
platform: "linux"
package: "pkcipe"
version: "1.5.4free-12"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/rsa-keygen"
---

# rsa-keygen(8)

generate an RSA public/private key pair for PKCIPE

## NAME

rsa-keygen - generate an RSA public/private key pair for PKCIPE

## SYNOPSIS

**rsa-keygen \[ -p \] NAME \[ bits \]**

## DESCRIPTION

NAME is the file name  *and* the identity name.

**rsa-keygen** writes the private key into the file NAME.priv and the corresponding public key into NAME. It should be invoked on each host, the private key should be moved to /etc/cipe/identity.priv and the public key should be copied to the other machine(s). The public key files are  text files, it is possible (and necessary) to append options in the usual format to these files *after* the key.

The bits value defaults to 1024. Use -p to set a passphrase on the private key.

## SEE ALSO

[**pkcipe**(8)](/pkcipe/8.md),[**ciped**(8)](/ciped/8.md)\

## AUTHOR

This manual page was written by Sam Hocevar \<sam@zoy.org\> for the Debian system (but may be used by others).
