Community discussions

MikroTik App
 
Prince71
just joined
Topic Author
Posts: 2
Joined: Fri Jan 08, 2016 12:21 am

Strange behavior of /certificate import

Fri Mar 19, 2021 12:21 am

I try to write a script for OpenVPN autoconfiguration. But when I try to import certificate and key for use, different devices show different behavior.
Most of them, as described in wiki, need to import first .crt file, then .key. Resulting certificate named <name>.crt_0
But several devices refuse to import .crt until .key file is imported. Resulting certificate named <name>.key_0
I need to use certificate name further in the script, but can't guess what it be, <name>.crt_0 or <name>.key_0

Is any method for setting the name of the imported certificate?

Thank in advance. And sorry for my bad English.

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], slimmerwifi, VinceKalloe and 86 guests