Generate pem file. Testing application