TYPO3 Exception 1318283565

Note

Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.

General TYPO3 troubleshooting tips can be found in the section "Troubleshooting" of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms. (See How to get your TYPO3 Slack account.)

To add your experience, click "Edit on GitHub" above and follow the "Edit on GitHub" workflow. Also check out our tip on Coding Style and reST.

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 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 C:xampp:

  • Activate the PHP module openssl in C:xamppphpphp.ini. Look for this line:

;extension=php_openssl.dll
  • Load fileinfo module as well. Look for this line and uncomment it:

;extension=php_fileinfo.dll
  • Add an environment variable "OPENSSL_CONF" with value C:xamppapacheconfopenssl.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 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 C:xamppapacheconfhttpd.conf like so:

#LoadModule ssl_module modules/mod_ssl.so

and near the end of the file:

#Include conf/extra/httpd-ssl.conf
  • Copy libeay32.ddl and ssleay32.dll from C:xamppphp\ to C:xamppapachebin\

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 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 xampp/apache_start.bat.