[Flow] How to use RsaWalletServicePhp

Pankaj Lele pankaj at lelesys.com
Fri Mar 21 08:22:15 CET 2014


Hello Peter,

> Addition information:
> OpenSSL is active
> 
> On a Live-Server (nginx) i get an error with same setting:
> The configuration setting 
> TYPO3.Flow.security.cryptography.RSAWalletServicePHP.keystorePath is 
> missing.

You should generate a keypair using openssl and then import the private 
and public keys using security:importprivatekey and 
security:importpublickey commands. These commands return the identifier 
of the imported keys.
Then inside your code you can do 
$this->rsaWalletService->encryptWithPublicKey($plaintext, $uuid);

Hope that helps.

-Pankaj


-- 
Pankaj Lele
CTO - Lelesys, India
http://www.lelesys.com
Twitter: @pankajlele



More information about the Flow mailing list