Encode cert path before send it.
Encode paths before use them.
Handle encoding problems in the vpn connection.