I've written an ad-hoc bash script, ssl_srtd_ca, that acts like the following, but doesn't work when dropped-in. Is there some sort of spec on how ssl_crtd communicates? squid01:/etc/ssl/ssl_crtd_tmp# ssl_crtd_ca -M 4MB -s /usr/local/squid/var/lib/ssl_db new_certificate 13 host=host.dom ok 1502 -----BEGIN CERTIFICATE----- MIIEWDCCA0CgAwIBAgIBFjANBgkqhkiG9w0BAQUFADCBpzELMAkGA1UEBhMCVVMx EzARBgNVBAgTCldhc2hpbmd0b24xKDAmBgNVBAoTH0VuaGFuY2VkIFNvZnR3YXJl IFByb2R1Y3RzLCBJbmMxFTATBgNVBAsTDFRlY2ggU3VwcG9ydDEdMBsGA1UEAxMU RVNQU09MVVRJT04gUFJPWFkgQ0ExIzAhBgkqhkiG9w0BCQEWFHRlY2hAZXNwc29s dXRpb24ubmV0MB4XDTEwMTIyMzE5NTAwM1oXDTIwMTIyMDE5NTAwM1owgbkxCzAJ BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRcwFQYDVQQHEw5TcG9rYW5l IFZhbGxleTEoMCYGA1UEChMfRW5oYW5jZWQgU29mdHdhcmUgUHJvZHVjdHMsIElu YzEaMBgGA1UECxMRVGVjaG5pY2FsIFN1cHBvcnQxETAPBgNVBAMTCGhvc3QuZG9t MSMwIQYJKoZIhvcNAQkBFhR0ZWNoQGVzcHNvbHV0aW9uLm5ldDCCASIwDQYJKoZI hvcNAQEBBQADggEPADCCAQoCggEBAL49fY/p+VVTqKrXAKm+uDiStVNebqGo9an8 JrG+AcKpp/GvOkVd4IDI7PR9T2/98x/89Vy8JZMdCrmue1IDf9T8RAcqcWiCOzNU ZU+N8YnzkNME+O4P/3KGsJwnw8ornh50G0UbqQ7W9MxzSFFbalMSn/p2oOkWPU9U S3CoeLYeG3TFDQnE42l9YUK72eG1CYqWiVuQA6y5LCrcWuM866QuLjjcwfQhy5b3 ceDoJrpt+tXe5j0mdJ3fGNABATijJ8rirX9VGQrvJAMt6KBW14tKpx2V6PWO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