Linux

squid3 https_port 需要 –enable-ssl

  • July 6, 2017

使用 squid3 -k parse 我看到了這個:

處理:https_port 443 cert=myCA.pem

錯誤:‘https_port’ 需要 –enable-ssl

如何啟用ssl?

的輸出 squid3 -v

Squid 記憶體:版本 3.4.8 linux 配置選項:’–build=x86_64-linux-gnu’ ‘–prefix=/usr’ ‘–includedir= $ {prefix}/include’ ‘–mandir= $ {前綴}/share/man’ ‘–infodir= $ {prefix}/share/info’ ‘–sysconfdir=/etc’ ‘–localstatedir=/var’ ‘–libexecdir= $ {前綴}/lib/squid3’ ‘–srcdir=.’ ‘–disable-maintainer-mode’ ‘–disable-dependency-tracking’ ‘–disable-silent-rules’ ‘–datadir=/usr/share/squid3’ ‘–sysconfdir=/etc/squid3’ ’ –mandir=/usr/share/man’ ‘–enable-inline’ ‘–disable-arch-native’ ‘–enable-async-io=8’ ‘–enable-storeio=ufs,aufs,diskd ,rock’ ‘–enable-removal-policies=lru,heap’ ‘–enable-delay-pools’ ‘–enable-cache-digests’ ‘–enable-icap-client’ ‘–enable-follow- x-forwarded-for’ ‘–enable-auth-basic=DB,fake,getpwnam,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB’ ‘–enable- auth-digest=file,LDAP’’–enable-auth-negotiate=kerberos,wrapper’’–enable-auth-ntlm=fake,smb_lm’’

好吧,如您的squid3 -v輸出所示,您的 squid 編譯選項中沒有該--enable-ssl標誌。所以恐怕你沒有 SSL。使用標誌編譯它--enable-ssl或使用不同的方法,如SslBump

引用自:https://serverfault.com/questions/859627