<-
Apache > Serveur HTTP > Documentation > Version 2.4 > SSL/TLS

Chiffrement fort SSL/TLS : Compatibilit�

Langues Disponibles:  en  |  fr 

Ce document couvre la compatibilit� ascendante entre mod_ssl et d'autres solutions SSL. mod_ssl n'est pas la seule solution SSL pour Apache ; quatre autres produits sont (ou ont �t�) �galement disponibles : Apache-SSL, le produit libre de Ben Laurie (d'o� mod_ssl est issu � l'origine en 1998), Secure Web Server, un produit commercial de Red Hat (bas� sur mod_ssl), Raven SSL Module, un produit commercial de Covalent (bas� lui aussi sur mod_ssl), et enfin Stronghold, produit commercial de C2Net et maintenant de Red Hat, (bas� sur une branche d'�volution diff�rente appel�e Sioux jusqu'� Stronghold 2.x et bas� sur mod_ssl depuis Stronghold 3.x).

En plus de ses fonctionnalit�s propres, mod_ssl rassemble la plupart de celles des autres solutions SSL, si bien qu'il est tr�s simple de migrer depuis un module plus ancien vers mod_ssl. Les directives de configuration et les noms des variables d'environnement utilis�s par les solutions SSL plus anciennes diff�rent de ceux qu'utilise mod_ssl ; les tableaux de correspondance ci-dessous fournissent les �quivalences de termes utilis�s par mod_ssl.

Voir aussi

top

Directives de configuration

La correspondance entre les directives de configuration qu'utilise Apache-SSL 1.x et mod_ssl 2.0.x est fournie dans le Tableau 1. La correspondance depuis Sioux 1.x et Stronghold 2.x n'est que partielle car certaines fonctionnalit�s de ces interfaces ne sont pas support�es par mod_ssl.

Tableau 1: Correspondance entre les directives de configuration

Ancienne directiveDirective mod_sslCommentaires
Compatibilit� entre Apache-SSL 1.x et mod_ssl 2.0.x :
SSLEnableSSLEngine onplus compacte
SSLDisableSSLEngine offplus compacte
SSLLogFile fileUtilisez plut�t la directive de niveau module LogLevel.
SSLRequiredCiphers specSSLCipherSuite specrenomm�e
SSLRequireCipher c1 ...SSLRequire %{SSL_CIPHER} in {"c1", ...}plus g�n�rale
SSLBanCipher c1 ...SSLRequire not (%{SSL_CIPHER} in {"c1", ...})plus g�n�rale
SSLFakeBasicAuthSSLOptions +FakeBasicAuthrassembl�es
SSLCacheServerPath dir-fonctionnalit� supprim�e
SSLCacheServerPort integer-fonctionnalit� supprim�e
Compatibilit� avec Apache-SSL 1.x :
SSLExportClientCertificatesSSLOptions +ExportCertDatarassembl�es
SSLCacheServerRunDir dir-fonctionnalit� non support�e
Compatibilit� avec Sioux 1.x :
SSL_CertFile fileSSLCertificateFile filerenomm�e
SSL_KeyFile fileSSLCertificateKeyFile filerenomm�e
SSL_CipherSuite argSSLCipherSuite argrenomm�e
SSL_X509VerifyDir argSSLCACertificatePath argrenomm�e
SSL_Log file-Utilisez plut�t la directive de niveau module LogLevel
SSL_Connect flagSSLEngine flagrenomm�e
SSL_ClientAuth argSSLVerifyClient argrenomm�e
SSL_X509VerifyDepth argSSLVerifyDepth argrenomm�e
SSL_FetchKeyPhraseFrom arg-pas de v�ritable �quivalent ; utiliser SSLPassPhraseDialog
SSL_SessionDir dir-pas de v�ritable �quivalent ; utiliser SSLSessionCache
SSL_Require expr-pas de v�ritable �quivalent ; utiliser SSLRequire
SSL_CertFileType arg-fonctionnalit� non support�e
SSL_KeyFileType arg-fonctionnalit� non support�e
SSL_X509VerifyPolicy arg-fonctionnalit� non support�e
SSL_LogX509Attributes arg-fonctionnalit� non support�e
Compatibilit� avec Stronghold 2.x :
StrongholdAccelerator engineSSLCryptoDevice enginerenomm�e
StrongholdKey dir-sans objet
StrongholdLicenseFile dir-sans objet
SSLFlag flagSSLEngine flagrenomm�e
SSLSessionLockFile fileSSLMutex filerenomm�e
SSLCipherList specSSLCipherSuite specrenomm�e
RequireSSLSSLRequireSSLrenomm�e
SSLErrorFile file-fonctionnalit� non support�e
SSLRoot dir-fonctionnalit� non support�e
SSL_CertificateLogDir dir-fonctionnalit� non support�e
AuthCertDir dir-fonctionnalit� non support�e
SSL_Group name-fonctionnalit� non support�e
SSLProxyMachineCertPath dirSSLProxyMachineCertificatePath dirrenomm�e
SSLProxyMachineCertFile fileSSLProxyMachineCertificateFile filerenomm�e
SSLProxyCipherList specSSLProxyCipherSpec specrenomm�e
top

Variables d'environnement

La correspondance entre les noms des variables d'environnement utilis�s par les solutions SSL plus anciennes et les noms utilis�s par mod_ssl est fournie dans le Tableau 2.

Tableau 2: D�rivation des variables d'environnement

Ancienne variableVariable mod_sslCommentaires
SSL_PROTOCOL_VERSIONSSL_PROTOCOLrenomm�e
SSLEAY_VERSIONSSL_VERSION_LIBRARYrenomm�e
HTTPS_SECRETKEYSIZESSL_CIPHER_USEKEYSIZErenomm�e
HTTPS_KEYSIZESSL_CIPHER_ALGKEYSIZErenomm�e
HTTPS_CIPHERSSL_CIPHERrenomm�e
HTTPS_EXPORTSSL_CIPHER_EXPORTrenomm�e
SSL_SERVER_KEY_SIZESSL_CIPHER_ALGKEYSIZErenomm�e
SSL_SERVER_CERTIFICATESSL_SERVER_CERTrenomm�e
SSL_SERVER_CERT_STARTSSL_SERVER_V_STARTrenomm�e
SSL_SERVER_CERT_ENDSSL_SERVER_V_ENDrenomm�e
SSL_SERVER_CERT_SERIALSSL_SERVER_M_SERIALrenomm�e
SSL_SERVER_SIGNATURE_ALGORITHMSSL_SERVER_A_SIGrenomm�e
SSL_SERVER_DNSSL_SERVER_S_DNrenomm�e
SSL_SERVER_CNSSL_SERVER_S_DN_CNrenomm�e
SSL_SERVER_EMAILSSL_SERVER_S_DN_Emailrenomm�e
SSL_SERVER_OSSL_SERVER_S_DN_Orenomm�e
SSL_SERVER_OUSSL_SERVER_S_DN_OUrenomm�e
SSL_SERVER_CSSL_SERVER_S_DN_Crenomm�e
SSL_SERVER_SPSSL_SERVER_S_DN_SPrenomm�e
SSL_SERVER_LSSL_SERVER_S_DN_Lrenomm�e
SSL_SERVER_IDNSSL_SERVER_I_DNrenomm�e
SSL_SERVER_ICNSSL_SERVER_I_DN_CNrenomm�e
SSL_SERVER_IEMAILSSL_SERVER_I_DN_Emailrenomm�e
SSL_SERVER_IOSSL_SERVER_I_DN_Orenomm�e
SSL_SERVER_IOUSSL_SERVER_I_DN_OUrenomm�e
SSL_SERVER_ICSSL_SERVER_I_DN_Crenomm�e
SSL_SERVER_ISPSSL_SERVER_I_DN_SPrenomm�e
SSL_SERVER_ILSSL_SERVER_I_DN_Lrenomm�e
SSL_CLIENT_CERTIFICATESSL_CLIENT_CERTrenomm�e
SSL_CLIENT_CERT_STARTSSL_CLIENT_V_STARTrenomm�e
SSL_CLIENT_CERT_ENDSSL_CLIENT_V_ENDrenomm�e
SSL_CLIENT_CERT_SERIALSSL_CLIENT_M_SERIALrenomm�e
SSL_CLIENT_SIGNATURE_ALGORITHMSSL_CLIENT_A_SIGrenomm�e
SSL_CLIENT_DNSSL_CLIENT_S_DNrenomm�e
SSL_CLIENT_CNSSL_CLIENT_S_DN_CNrenomm�e
SSL_CLIENT_EMAILSSL_CLIENT_S_DN_Emailrenomm�e
SSL_CLIENT_OSSL_CLIENT_S_DN_Orenomm�e
SSL_CLIENT_OUSSL_CLIENT_S_DN_OUrenomm�e
SSL_CLIENT_CSSL_CLIENT_S_DN_Crenomm�e
SSL_CLIENT_SPSSL_CLIENT_S_DN_SPrenomm�e
SSL_CLIENT_LSSL_CLIENT_S_DN_Lrenomm�e
SSL_CLIENT_IDNSSL_CLIENT_I_DNrenomm�e
SSL_CLIENT_ICNSSL_CLIENT_I_DN_CNrenomm�e
SSL_CLIENT_IEMAILSSL_CLIENT_I_DN_Emailrenomm�e
SSL_CLIENT_IOSSL_CLIENT_I_DN_Orenomm�e
SSL_CLIENT_IOUSSL_CLIENT_I_DN_OUrenomm�e
SSL_CLIENT_ICSSL_CLIENT_I_DN_Crenomm�e
SSL_CLIENT_ISPSSL_CLIENT_I_DN_SPrenomm�e
SSL_CLIENT_ILSSL_CLIENT_I_DN_Lrenomm�e
SSL_EXPORTSSL_CIPHER_EXPORTrenomm�e
SSL_KEYSIZESSL_CIPHER_ALGKEYSIZErenomm�e
SSL_SECKEYSIZESSL_CIPHER_USEKEYSIZErenomm�e
SSL_SSLEAY_VERSIONSSL_VERSION_LIBRARYrenomm�e
SSL_STRONG_CRYPTO-Non support�e par mod_ssl
SSL_SERVER_KEY_EXP-Non support�e par mod_ssl
SSL_SERVER_KEY_ALGORITHM-Non support�e par mod_ssl
SSL_SERVER_KEY_SIZE-Non support�e par mod_ssl
SSL_SERVER_SESSIONDIR-Non support�e par mod_ssl
SSL_SERVER_CERTIFICATELOGDIR-Non support�e par mod_ssl
SSL_SERVER_CERTFILE-Non support�e par mod_ssl
SSL_SERVER_KEYFILE-Non support�e par mod_ssl
SSL_SERVER_KEYFILETYPE-Non support�e par mod_ssl
SSL_CLIENT_KEY_EXP-Non support�e par mod_ssl
SSL_CLIENT_KEY_ALGORITHM-Non support�e par mod_ssl
SSL_CLIENT_KEY_SIZE-Non support�e par mod_ssl
top

Fonctions de personnalisation des journaux

Quand mod_ssl est activ�, le Format de journal courant (Custom Log Format) du module mod_log_config poss�de des fonctions suppl�mentaires comme indiqu� dans le chapitre de r�f�rence. En plus de la fonction de format �tendu ``%{varname}x'' que l'on peut utiliser pour extraire le contenu d'une variable fournie par n'importe quel module, la fonction de format cryptographique ``%{name}c'' a �t� ajout�e � des fins de compatibilit� ascendante. Les appels de fonctions actuellement impl�ment�s sont �num�r�s dans le Tableau 3.

Table 3: Fonctions cryptographiques du format de journal courant

Appel de fonctionDescription
%...{version}c Version du protocole SSL
%...{cipher}c Chiffrement SSL
%...{subjectdn}c Nom distinctif du sujet du certificat du client
%...{issuerdn}c Nom distinctif de l'�metteur du certificat du client
%...{errcode}c Erreur lors de la v�rification du certificat (num�rique)
%...{errstr}c Erreur lors de la v�rification du certificat (cha�ne de caract�res)

Langues Disponibles:  en  |  fr 

top

Commentaires

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.