GNOME Boxes should prompt an error when certificate not trusted
When trying to connect to a remote Windows Server, the loading indicator keep spinning without showing any message. After seeing the error log, I think this message should be prompted to the user via the user interface as well (not only in the system log).
Here is the error log
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - certificate not trusted, aborting.
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - Host key verification failed.
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - Host key for [hostname] has changed and you have requested strict checking.
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - Add correct host key in /home/[username]/.config/freerdp/known_hosts2 to get rid of this message.
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - Please contact your system administrator.
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - The fingerprint for the host key sent by the remote host is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - It is also possible that a host key has just been changed.
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - Someone could be eavesdropping on you right now (man-in-the-middle attack)!
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
12:35:09 gnome-boxes: [12:35:09:617] [16843:16859] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
12:35:09 gnome-boxes: [12:35:09:616] [16843:16859] [ERROR][com.freerdp.crypto] - The host key for [hostname]:3389 has changed