Need to upload Certificates via command [SSH] line

Status
Not open for further replies.

venkata

Dabbler
Joined
Sep 12, 2014
Messages
29
Dear Team,

We are using FreeNAS-9.10.2-U1 (86c7ef5).

I know to upload certificates via webGUI,, But is there any process/way to upload certificates via command line.

thank you so much for advance.

Regards
Venkata
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Dear Team,

We are using FreeNAS-9.10.2-U1 (86c7ef5).

I know to upload certificates via webGUI,, But is there any process/way to upload certificates via command line.

thank you so much for advance.

Regards
Venkata
This article ("Enabling Password Free SSH Access on ESXi 5.0") describes using the cat command to append your public key to the authorized_keys file. Of course, you will need to use the correct path, depending on the user account you're configuring.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
This article ("Enabling Password Free SSH Access on ESXi 5.0") describes using the cat command to append your public key to the authorized_keys file
...which has nothing to do with uploading certificates. There's no "official" way to upload certificates via the CLI (i.e., a way that would put the cert into the config database and trigger generation of the appropriate files), but I've seen a couple of posts here describing a process that should work. Here's one.

This ought to be doable via the API, but AFAIK it isn't.
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Status
Not open for further replies.
Top