I frequently use the OpenConnect plugin for NetworkManager to access VPN resources. However, each time I activate the VPN profile it asks me if I would like to accept the certificate. Is there a way to pull the remote VPN certificate so I can persistently put it in my trusted certificate store?
I am using nm-applet to do all of this from a nice tray icon, but the command-line equivalent also requests that I accept the certificate.
tldr; How can you requests certificates?