[squid-users] Uninitialized SSL certificate database directory
Amos Jeffries
squid3 at treenet.co.nz
Wed Aug 29 02:41:21 UTC 2018
On 29/08/18 1:08 AM, Maximiliano Santa Cruz wrote:
> Thanks for your answer, here's the output after the upgrade:
>
> [root at localhost ssl_cert]# squid -v
> Squid Cache: Version 4.1
> Service Name: squid
>
> '--with-default-user=squid'
>
> Error:
>
> [root at localhost ssl_cert]# /usr/lib64/squid/security_file_certgen -c -s
> /usr/local/squid/var/cache/squid/ssl_db -M 4MB
> Initialization SSL db...
> /usr/lib64/squid/security_file_certgen: Cannot create
> /usr/local/squid/var/cache/squid/ssl_db
>
...
> Permissions:
>
> drwxrwxrwx. 2 squid squid 6 Aug 28 08:45 ssl_db
Aha. This directory cannot be created because it already exists.
Run these:
rm -rf /usr/local/squid/var/cache/squid/ssl_db
su squid
/usr/lib64/squid/security_file_certgen -c \
-s /usr/local/squid/var/cache/squid/ssl_db \
-M 4MB
Amos
More information about the squid-users
mailing list