Jump to:navigation, search
Wiki





































Syntax of the CLI command pkey

Last adaption: 11.2023

New:
  • Correction Name of the parameter keytype
Last updated: 
    06.2024
notempty
This article refers to a Beta version
Access: UTM-IP:Port or UTM-URL:Port
Port as configured at Network / Appliance Settings / Webserver
Default-Port: 11115
i.e.: https://utm.ttt-point.de:11115
Default: https://192.168.175.1:11115
Extras CLI


Command Parameter Description Example

pkey

pkey get

pkey get
List of keys and their properties
Value Description
id ID of the key
name Name of the key
hash Hash -Code of the key
bits Number of bits of the key
keytype Key type
flags Type of key, private or public
pkey get

pkey new

pkey new
Creates a new key pkey new name "key" keytype "X25519" bits "253"
name Name of the key
keytype Key type
bits Number of bits of the key

pkey import

pkey import
Imports a key pkey import name "key" value "1Mk...uH/hM=" keytype "X25519" format "RAW_B64" flags [ PUBLIC VALUE_DIRECT ]
name Name of the key
value Value of the key
keytype Key type
format Key file format
flags Type of key, private or public pkey import … flags [ PUBLIC VALUE_DIRECT ] / pkey import … flags [ PRIVATE VALUE_DIRECT ]

pkey export

pkey export
Exports a key pkey export id "1" format "PEM"
id ID of the key
format Key file format

pkey delete

pkey delete
Deletes a key pkey delete id "1"
id ID of the key