.. include:: /Includes.rst.txt ========================== TYPO3 Exception 1318283565 ========================== .. include:: /If-you-encounter-this-exception.rst.txt Login into TYPO3 is not possible anymore, as no OpenSSL backend for rsaauth is available. ========================================================================================= - Activate and configure (on Windows) the PHP module openssl - Configure `rsaauth` to use the `openssl` executable inside :file:`localconf.php` - Set `$TYPO3_CONF_VARS['SYS']['binSetup']` to the executable. E.g. `'openssl=C:/ ... /openssl.exe'` - If your path to `openssl.exe` contains blanks, make sure to quote the `openssl` parameter, e.g. `'openssl="C:/ ... /openssl.exe"'` - Set `$TYPO3_CONF_VARS[TYPO3_mode]['loginSecurityLevel']` to 'normal' instead of 'rsa' (replace `TYPO3_mode` with BE or FE) and set the hash of your user account's password to the md5 hashed value of your password. This way you can at least access your installation. Please be aware that this is a bad idea and disabling rsaauth/saltedpasswords results in all your passwords being unusable, until openssl is available. Windows 7 and Xampp ------------------- Assuming you installed Xampp into :file:`C:\xampp:` - Activate the PHP module openssl in :file:`C:\xampp\php\php.ini`. Look for this line: .. code-block:: ini ;extension=php_openssl.dll - Load `fileinfo` module as well. Look for this line and uncomment it: .. code-block:: ini ;extension=php_fileinfo.dll - Add an environment variable `"OPENSSL_CONF"` with value :file:`C:\xampp\apache\conf\openssl.cnf`. Press "Win + PAUSE" to go to the System window. In the left sidebar are the system settings. - Either set `$TYPO3_CONF_VARS['SYS']['binSetup']` to `'openssl=C:\xampp\apache\bin\openssl.exe'` or append `C:\xampp\apache\bin` to the environment variable `PATH` (will work for every PHP script not only TYPO3) - If your path to :file:`openssl.exe` contains blanks, make sure to quote the openssl parameter, e.g. `'openssl="C:/ ... /openssl.exe"'` - Restart Apache - If Apache won't start, deactivate the apache ssl module (php has its own) in :file:`C:\xampp\apache\conf\httpd.conf` like so: .. code-block:: ini #LoadModule ssl_module modules/mod_ssl.so and near the end of the file: .. code-block:: ini #Include conf/extra/httpd-ssl.conf - Copy :file:`libeay32.ddl` and :file:`ssleay32.dll` from :file:`C:\xampp\php\\` to :file:`C:\xampp\apache\bin\\` Helpful links (German) ^^^^^^^^^^^^^^^^^^^^^^ - http://blog.joergboesche.de/xampp-1-7-7-apachephp-openssl-modul-workaround-gegen-abstuerze - http://praxistipps.chip.de/typo3-lokal-unter-windows-installieren-so-gehts_33260 Helpful links (English) ^^^^^^^^^^^^^^^^^^^^^^^ - http://stackoverflow.com/questions/24140956/xampp-3-2-1-and-typo3-6-2-openssl-not-working Solution for Windows 10 with XAMPP ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I have a 64-bit Windows 10 laptop upon which I installed XAMPP and TYPO3 v8.7.10. For days I struggled with the following message during TYPO3 install cited as a catastrophic failure under "System Environment" evaluations: PHP OpenSSL extension not working Something went wrong while trying to create a new private key for testing. Please check the integration of the PHP OpenSSL extension and if it is installed correctly. Finally, after trying all kind of OpenSSL-related installation verifications, I found a solution at this link ... https://stackoverflow.com/questions/4719939/xampp-openssl-errors-when-calling-openssl-pkey-new?rq=1 ... At the bottom it said; "...start apache using the xampp/apache_start.bat NOT THE XAMPP CONTROL PANEL (its strange that when started from the control panel it doesn't work [maybe a current directory problem])". After launching apache with :file:`xampp/apache_start.bat`, I could launch everything else (esp. MySQL) using the XAMPP Control Panel, which did detect Apache was already running. Next, I returned to TYPO3 8.7.10 install checks, and the OpenSSL problem was gone! I do not know what is the difference (directory spec or what?) between XAMPP Control Panel and :file:`xampp/apache_start.bat`.