Ajouter un certificat à un compte local

waarp-gateway <ADDR> account local <SERVER> cert <LOGIN> add

Attache un nouveau certificat au compte donné à partir des informations renseignées.

-n <NAME>, --name=<NAME>

Le nom du certificat. Doit être unique pour le compte concerné.

-p <PRIV_KEY>, --private_key=<PRIV_KEY>

Le chemin vers le fichier contenant la clé privée du certificat.

-b <PUB_KEY>, --public_key=<PUB_KEY>

Le chemin vers le fichier contenant la clé publique du certificat.

-c <CERT>, --certificate=<CERT>

Le chemin vers le fichier contenant le certificat du compte, avec la chaîne de certification complète.


Exemple

waarp-gateway http://user:password@localhost:8080 account local serveur_sftp cert tata add -n cert_tata -p /tata.pub -b /tata.key -c /tata.pem