build: updates/cleanups copied from GPL
Missed in a recent GPL merge
Missed in the 374_339 merge
httpd: Encode crt/keys imported from an uploaded ovpn