Ajouter un certificat à un compte distant

waarp-gateway account remote <PARTNER> 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é.

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

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

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

Le chemin vers le fichier contenant la clé privée (TLS ou SSH) du compte, en format PEM.


Exemple

waarp-gateway -a 'http://user:password@localhost:8080' account remote 'waarp_sftp' cert 'titi' add -n 'key_titi' -p './titi.key'