📄 ssl_compat.wml
字号:
#use "ssl_template.inc" title="Compatibility" tag=compat num=4<page_prev name="Reference" url="ssl_reference.html"><page_next name="HowTo" url="ssl_howto.html">#use wml::std::toc style=nbsp<quotation width=200 author="Unknown">All PCs are compatible. But some ofthem are more compatible than others.</quotation><p><table cellspacing=0 cellpadding=0 border=0><tr valign=bottom><td><big H>ere we talk about backward compatibility to other SSL solutions. As youperhaps know, mod_ssl is not the only existing SSL solution for Apache.Actually there are four additional major products available on the market: BenLaurie's freely available <a href="http://www.apache-ssl.org/">Apache-SSL</a>(from where mod_ssl were originally derived in 1998), RedHat's commercial <ahref="http://www.redhat.com/products/product-details.phtml?id=rhsa">Secure WebServer</a> (which is based on mod_ssl), Covalent's commercial <ahref="http://raven.covalent.net/">Raven SSL Module</a> (also based on mod_ssl)and finally C2Net's commercial product <ahref="http://www.c2.net/products/stronghold/">Stronghold</a> (based on adifferent evolution branch named Sioux up to Stronghold 2.x and based onmod_ssl since Stronghold 3.x).</td><td> </td><td><div align=right><table cellspacing=0 cellpadding=5 border=0 bgcolor="#ccccff"><tr><td bgcolor="#333399"><font face="Arial,Helvetica" color="#ccccff"><b>Table Of Contents</b></font></td></tr><tr><td><font face="Arial,Helvetica" size=-1><toc></font></td></tr></table></div></td></tr></table><p>The idea in mod_ssl is mainly the following: because mod_ssl provides mostly asuperset of the functionality of all other solutions we can easily providebackward compatibility for most of the cases. Actually there are threecompatibility areas we currently address: configuration directives,environment variables and custom log functions.<h2>Configuration Directives</h2>For backward compatibility to the configuration directives of other SSLsolutions we do an on-the-fly mapping: directives which have a directcounterpart in mod_ssl are mapped silently while other directives lead to awarning message in the logfiles. The currently implemented directive mappingis listed in <a href="#table1">Table 1</a>. Currently full backwardcompatibilty is provided only for Apache-SSL 1.x and mod_ssl 2.0.x.Compatibility to Sioux 1.x and Stronghold 2.x is only partial because ofspecial functionality in these interfaces which mod_ssl (still) doesn'tprovide.<p><float name="table1" caption="Table 1: Configuration Directive Mapping"><table border=0 cellspacing=0 cellpadding=2 width=598><tr id=D><td><strong>Old Directive</strong></td><td><strong>mod_ssl Directive</strong></td><td><strong>Comment</strong></td></tr><tr id=H><td colspan=3><b>Apache-SSL 1.x & mod_ssl 2.0.x compatibility:</b></td></tr><tr id=D><td><code>SSLEnable</code></td><td><code>SSLEngine on</code></td><td>compactified</td></tr><tr id=H><td><code>SSLDisable</code></td><td><code>SSLEngine off</code></td><td>compactified</td></tr><tr id=D><td><code>SSLLogFile</code> <em>file</em></td><td><code>SSLLog</code> <em>file</em></td><td>compactified</td></tr><tr id=H><td><code>SSLRequiredCiphers</code> <em>spec</em></td><td><code>SSLCipherSuite</code> <em>spec</em></td><td>renamed</td></tr><tr id=D><td><code>SSLRequireCipher</code> <em>c1</em> ...</td><td><code>SSLRequire %{SSL_CIPHER} in {"</code><em>c1</em><code>", ...}</code></td><td>generalized</td></tr><tr id=H><td><code>SSLBanCipher</code> <em>c1</em> ...</td><td><code>SSLRequire not (%{SSL_CIPHER} in {"</code><em>c1</em><code>", ...})</code></td><td>generalized</td></tr><tr id=D><td><code>SSLFakeBasicAuth</td><td><code>SSLOptions +FakeBasicAuth</code></td><td>merged</td></tr><tr id=H><td><code>SSLCacheServerPath</code> <em>dir</em></td><td>-</td><td>functionality removed</td></tr><tr id=D><td><code>SSLCacheServerPort</code> <em>integer</em></td><td>-</td><td>functionality removed</td></tr><tr id=H><td colspan=3><b>Apache-SSL 1.x compatibility:</b></td></tr><tr id=D><td><code>SSLExportClientCertificates</td><td><code>SSLOptions +ExportCertData</code></td><td>merged</td></tr><tr id=H><td><code>SSLCacheServerRunDir</code> <em>dir</em></td><td>-</td><td>functionality not supported</td></tr><tr id=D><td colspan=3><b>Sioux 1.x compatibility:</b></td></tr><tr id=H><td><code>SSL_CertFile</code> <em>file</em></td><td><code>SSLCertificateFile</code> <em>file</em></td><td>renamed</td></tr><tr id=D><td><code>SSL_KeyFile</code> <em>file</em></td><td><code>SSLCertificateKeyFile</code> <em>file</em></td><td>renamed</td></tr><tr id=H><td><code>SSL_CipherSuite</code> <em>arg</em></td><td><code>SSLCipherSuite</code> <em>arg</em></td><td>renamed</td></tr><tr id=D><td><code>SSL_X509VerifyDir</code> <em>arg</em></td><td><code>SSLCACertificatePath</code> <em>arg</em></td><td>renamed</td></tr><tr id=H><td><code>SSL_Log</code> <em>file</em></td><td><code>SSLLogFile</code> <em>file</em></td><td>renamed</td></tr><tr id=D><td><code>SSL_Connect</code> <em>flag</em></td><td><code>SSLEngine</code> <em>flag</em></td><td>renamed</td></tr><tr id=H><td><code>SSL_ClientAuth</code> <em>arg</em></td><td><code>SSLVerifyClient</code> <em>arg</em></td><td>renamed</td></tr><tr id=D><td><code>SSL_X509VerifyDepth</code> <em>arg</em></td><td><code>SSLVerifyDepth</code> <em>arg</em></td><td>renamed</td></tr><tr id=H><td><code>SSL_FetchKeyPhraseFrom</code> <em>arg</em></td><td>-</td><td>not directly mappable; use SSLPassPhraseDialog</td></tr><tr id=D><td><code>SSL_SessionDir</code> <em>dir</em></td><td>-</td><td>not directly mappable; use SSLSessionCache</td></tr><tr id=H><td><code>SSL_Require</code> <em>expr</em></td><td>-</td><td>not directly mappable; use SSLRequire</td></tr><tr id=D><td><code>SSL_CertFileType</code> <em>arg</em></td><td>-</td><td>functionality not supported</td></tr><tr id=H><td><code>SSL_KeyFileType</code> <em>arg</em></td><td>-</td><td>functionality not supported</td></tr><tr id=D><td><code>SSL_X509VerifyPolicy</code> <em>arg</em></td><td>-</td><td>functionality not supported</td></tr><tr id=H><td><code>SSL_LogX509Attributes</code> <em>arg</em></td><td>-</td><td>functionality not supported</td></tr><tr id=D><td colspan=3><b>Stronghold 2.x compatibility:</b></td></tr><tr id=H><td><code>StrongholdAccelerator</code> <em>dir</em></td><td>-</td><td>functionality not supported</td></tr><tr id=H><td><code>StrongholdKey</code> <em>dir</em></td><td>-</td><td>functionality not supported</td></tr><tr id=H><td><code>StrongholdLicenseFile</code> <em>dir</em></td><td>-</td><td>functionality not supported</td></tr><tr id=H><td><code>SSLFlag</code> <em>flag</em></td><td><code>SSLEngine</code> <em>flag</em></td><td>renamed</td></tr><tr id=D><td><code>SSLSessionLockFile</code> <em>file</em></td><td><code>SSLMutex</code> <em>file</em></td><td>renamed</td></tr><tr id=H><td><code>SSLCipherList</code> <em>spec</em></td><td><code>SSLCipherSuite</code> <em>spec</em></td><td>renamed</td></tr><tr id=D><td><code>RequireSSL</code></td><td><code>SSLRequireSSL</code></td><td>renamed</td></tr><tr id=H><td><code>SSLErrorFile</code> <em>file</em></td><td>-</td><td>functionality not supported</td></tr><tr id=H><td><code>SSLRoot</code> <em>dir</em></td><td>-</td><td>functionality not supported</td></tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -