CLI Import Certificate name ignored - default cert overwritten
Hi, proxy certificate generated on other server - LE. PEM -> PFX conversation with openssl
Windows PowerShell with POSH-SSH module for login and grabbing session stream. I am using following command
import certificate proxy-server from ftp://@172.30.1.174/ex2016_owa.pfx SuperPassWord
Auto-Fill password and name. After import ist complete the Default certificate ist overwritten. I am currently not able to add additional proxy certs via cli.
Other attempt with web-gui generated a generic name: (server-1) I tried to re-import via gui and new display name is "test-mf". I used cli to list certificates. "test-mf" was not found, but server-1. Seems like the original cert name was kept.
For automisation we want to use CLI. Currently default cert replacement works, because we use a wildcard cert.
Why is the name ignored when we use cli command to import? Bug? Hidden parameters available?
In general import via cli works fine. But we can't really control cert name, neither overwrite of existing default certificate.
Furthermor, display name != name
It is possible to import certs automatically without usning web-gui/ api. Just with a simple CLI command, that uses all needed parameter: Name, Display Name, Overwrite....
Currently cert-data, password and purpose seems to be accepted.
greetz Maik
Comments
Hi @MaikFx
I'd suggest opening a support case. We'll need additional data about your firewall, and preferably logs from the firewall when this happens.
You can open a support case via the support center button at the top right of this page.
-James Carson
WatchGuard Customer Support