Skip to content

Instantly share code, notes, and snippets.

@billyjov
Created March 12, 2018 01:55
Show Gist options
  • Save billyjov/c8cb1573147692920b866c818f27b60e to your computer and use it in GitHub Desktop.
Save billyjov/c8cb1573147692920b866c818f27b60e to your computer and use it in GitHub Desktop.
Can't login into typo3 backend caused by rsaauth error.

Error Message

  • Error type: 500 Internal server error
  • Error message: No OpenSSL backend could be obtained for rsaauth
  • Error description: Login into TYPO3 is not possible anymore, as no OpenSSL backend for rsaauth is available.

Possible causes

  • Extension rsaauth is not available locally
  • Open ssl is not available or enabled on current php installation

Possible solutions

Solution 1 (Not recommended)

  • Turn rsaauth off by changing 'loginSecurityLevel' => 'rsa' to 'loginSecurityLevel' => 'normal' into LocalConfiguration.php.

or

  • Turn off rsaauth by adding following lines in your local configurations
unset($TYPO3_CONF_VARS['BE']['loginSecurityLevel']);
unset($TYPO3_CONF_VARS['FE']['loginSecurityLevel']);
$TYPO3_CONF_VARS['EXT']['extList'] = str_replace('rsaauth,','',$TYPO3_CONF_VARS['EXT']['extList']);
$TYPO3_CONF_VARS['EXT']['extList_FE'] = str_replace('rsaauth,','',$TYPO3_CONF_VARS['EXT']['extList_FE']);
  • EFFECT: It works, because rsa is no longer activated and you can log in to the backend.
  • AFTER EFFECT: It's disable some security modules in your backend like password salt and hash process[1]

Solution 2 (recommended)

  • Turn on the open ssl on your current machine
  • Step 1: Add or uncomment extension=php_openssl.dll in your php.ini (e.g for xampp users extension=php_openssl.dll)
  • Step 2: Add Open ssl to your environement variable like this (for xampp users)
- go to environement variable on window and create new one 
Name: OPENSSL_CONF
Value: PATH_TO_XAMPP\php\extras\openssl\openssl.cnf
  • Step 3: Restart Apache server.
  • Step 4 (optional): Reboot your computer.

Sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment