ssl_certificates: fix directory permissions