sslsplit.conf(5)
β¨ sslsplit.conf π the config file that runs the whole vibe
okay so bestie, gather round, because this is sslsplit.conf(5) β literally the manual page for sslsplit.conf, the config file that tells sslsplit(1) what to do. yes it's section 5. no we're not skipping anything. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
sslsplit.conf β the configuration file for SSLsplit, aka sslsplit(1). it's giving "settings, but make it a text file" π
β¨ DESCRIPTION β¨
so the file sslsplit.conf configures SSLsplit, which is sslsplit(1). that's it. that's the description. short queen energy π
π FILE FORMAT π
okay so the file is made of comments and options with arguments. the rules are genuinely so simple:
- every line that starts with a hash (
#) is ignored by the parser. poof. gone. not read. that's your comment line bestie π - options and arguments go like this:
Option Argument. that's the whole format. it's not complicated and honestly? iconic.
and the arguments come in these two flavours:
BOOLβ a boolean value, and the valid values areyes/no. that's it, notrue, no1, don't be creative πSTRINGβ a string. it's a string. it strings. π¦
π DIRECTIVES π
so here's the tea: when an option is not used β meaning it's hashed out with a # or it just straight up doesn't exist in the config file β sslsplit takes a default action. no drama, it just does the default thing.
and if an option doesn't have a command line equivalent? you can still override it on the command line with the -o opt=val option. slay β¨
now, the full roster. every single one. no skips. periodt π
CACertSTRING β use the CA cert (and key) to sign forged certs. equivalent to the-ccommand line option. π₯CAKeySTRING β use the CA key (and cert) to sign forged certs. equivalent to the-kcommand line option. π₯ClientCertSTRING β use the cert from the pemfile when the destination requests client certs. equivalent to the-acommand line option.ClientKeySTRING β use the key from the pemfile when the destination requests client certs. equivalent to the-bcommand line option.CAChainSTRING β use the CA chain from the pemfile (that's intermediate and root CA certs, both). equivalent to the-Ccommand line option. πLeafKeySTRING β use the key from the pemfile for generating leaf certs. equivalent to the-Kcommand line option.- Default:
generate
- Default:
LeafCRLURLSTRING β use this URL as the CRL distribution point for all forged leaf certs. equivalent to the-qcommand line option.LeafCertDirSTRING β use cert+chain+key PEM files fromcertdirto target all sites matching the common names. and for the non-matching ones? it generates if there's a CA. equivalent to the-tcommand line option. πDefaultLeafCertSTRING β use cert+chain+key from the PEM file for leaf certificates if there's no match inLeafCertDir. equivalent to the-Acommand line option.WriteGenCertsDirSTRING β write the leaf key and only the generated certificates togendir. equivalent to the-wcommand line option.WriteAllCertsDirSTRING β write the leaf key and all the certificates togendir. equivalent to the-Wcommand line option.DenyOCSPBOOL β deny all OCSP requests on all proxyspecs. equivalent to the-Ocommand line option.PassthroughBOOL β passthrough the SSL connections when they can't be split, because of client cert auth or no matching cert and no CA. equivalent to the-Pcommand line option.- Default:
drop
- Default:
DHGroupParamsSTRING β use the DH group params from the pemfile. equivalent to the-gcommand line option.- Default:
keyfilesorauto
- Default:
ECDHCurveSTRING β use this ECDH named curve. equivalent to the-Gcommand line option.- Default:
prime256v1
- Default:
SSLCompressionBOOL β enable/disable SSL/TLS compression on all connections. equivalent to the-Zcommand line option.ForceSSLProtoSTRING β force that SSL/TLS protocol version, and only that one. equivalent to the-rcommand line option.- Default:
all
- Default:
DisableSSLProtoSTRING β disable that SSL/TLS protocol version. equivalent to the-Rcommand line option.- Default:
none
- Default:
CiphersSTRING β use the given OpenSSL cipher suite spec. equivalent to the-scommand line option.- Default:
ALL:-aNULL
- Default:
OpenSSLEngineSTRING β the OpenSSL engine to activate. it can be either the ID or the full path to the shared library implementing the engine. if you give it an ID, the engine needs to be known to the system-wide OpenSSL configuration. and heads up: this is only available if built against a version of OpenSSL with engine support. equivalent to the-xcommand line option. π₯NATEngineSTRING β specify the default NAT engine to use. equivalent to the-ecommand line option.UserSTRING β drop privileges to this user. equivalent to the-ucommand line option.- Default:
nobody, if run as root
- Default:
GroupSTRING β drop privileges to this group. equivalent to the-mcommand line option.- Default: primary group of
user
- Default: primary group of
ChrootSTRING βchroot()tojaildir. heads up: this impacts sni proxyspecs, so go readsslsplit(1). equivalent to the-jcommand line option. π«ΆPidFileSTRING β write the pid to this file. equivalent to the-pcommand line option.ConnectLogSTRING β connect log: log a one line summary per connection tologfile. equivalent to the-lcommand line option.ContentLogSTRING β content log: full data to a file or a named pipe. this excludesContentLogDir/ContentLogPathSpec. equivalent to the-Lcommand line option.ContentLogDirSTRING β content log: full data to separate files indir. this excludesContentLog/ContentLogPathSpec. equivalent to the-Scommand line option.ContentLogPathSpecSTRING β content log: full data to separate files with%subst. this excludesContentLog/ContentLogDir. equivalent to the-Fcommand line option.LogProcInfoBOOL β look up the local process owning each connection, for logging. equivalent to the-icommand line option. πPcapLogSTRING β pcap log: packets topcapfile. this excludesPcapLogDir/PcapLogPathSpec. equivalent to the-Xcommand line option.PcapLogDirSTRING β pcap log: packets to separate files indir. this excludesPcapLog/PcapLogPathSpec. equivalent to the-Ycommand line option.PcapLogPathSpecSTRING β pcap log: packets to separate files with%subst. this excludesPcapLog/PcapLogDir. equivalent to the-ycommand line option.MirrorIfSTRING β mirror packets to this interface. equivalent to the-Icommand line option.MirrorTargetSTRING β mirror packets to this target address (used together withMirrorIf). equivalent to the-Tcommand line option.MasterKeyLogSTRING β log master keys tologfilein SSLKEYLOGFILE format. equivalent to the-Mcommand line option. πDaemonBOOL β daemon mode: run in the background, log error messages to syslog. equivalent to the-dcommand line option.DebugBOOL β debug mode: run in the foreground, log debug messages on stderr. equivalent to the-Dcommand line option.VerifyPeerBOOL β verify the peer using default certificates.- Default:
no
- Default:
AddSNIToCertificateBOOL β when disabled, never add the SNI to forged certificates, even if the SNI provided by the client does not match the server certificate's CN/SAN. it helps pass thewrong.hosttest athttps://badssl.com. bestie that's a whole vibe check for your certs π- Default:
yes
- Default:
ProxySpecSTRING β proxy specification:type listenaddr+port [natengine|targetaddr+port|"sni"+port]. multiple specs are allowed, one on each line. π
π¦ FILES π¦
/etc/sslsplit/sslsplit.confβ that's the spot, that's the home base π
π AUTHOR π
the config file facility was added by Soner Tari <sonertari@gmail.com>. thank you king, we appreciate you π«Ά
β SEE ALSO β
sslsplit(1)β go read it, it's the main character π
and that's the whole page, no cap. every option, every default, every equivalence β all accounted for. if you skipped a line, that's on you bestie π
so yeah, that's sslsplit 0.5.5, dated 2024-04-01, straight out of sslsplit.conf(5) β mwah, kiss the manual, it's done β¨ππ
π¦ where this page comes from
- ubuntu noble: sslsplit 0.5.5-2.1build4 Β· BSD-2-Clause-un
- ubuntu questing: sslsplit 0.5.5-2.1build4
- Copyright (c) 2009-2019, Daniel Roethlisberger <daniel@roe.ch>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms