[squid-users] Uninitialized SSL certificate database directory

Maximiliano Santa Cruz maxonico at gmail.com
Mon Aug 27 19:13:00 UTC 2018


Hello everybody.

I've been struggling with this error:

(ssl_crtd): Uninitialized SSL certificate database directory:
/var/lib/ssl_db. To initialize, run "ssl_crtd -c -s /var/lib/ssl_db".

I've tried a lot of workarounds from this mailing list but none of them
worked for me, these are the permissions that I have:

[root at localhost admin]#  /usr/lib64/squid/ssl_crtd -c -s /var/lib/ssl_db

[root at localhost admin]# ll /var/lib/ssl_db
total 4
drwxr-xr-x. 2 squid squid 6 Aug 27 15:06 certs
-rw-r--r--. 1 squid squid 0 Aug 27 15:06 index.txt
-rw-r--r--. 1 squid squid 1 Aug 27 15:06 size

I get the error when:

[root at localhost admin]# systemctl restart squid

Then I tried:

[root at localhost admin]# chmod -R a+w /var/lib/ssl_db
[root at localhost admin]# ll /var/lib/ssl_db
total 4
drwxrwxrwx. 2 squid squid 6 Aug 27 15:06 certs
-rw-rw-rw-. 1 squid squid 0 Aug 27 15:06 index.txt
-rw-rw-rw-. 1 squid squid 1 Aug 27 15:06 size

Same error.

OS: CentOS 7
[root at localhost admin]# squid -v
Squid Cache: Version 3.5.27
Service Name: squid

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180827/287ec75a/attachment.html>


More information about the squid-users mailing list