Fatal error: s2Member was unable to generate an RSA-SHA1...
Posted: January 1st, 2012, 9:26 am
I am trying to enable secured access to my files and my streaming content. Direct links work fine, and secured links worked fine BEFORE I installed Cloudfront for a direct download. I enabled this to have videos streamed as well as have a separate download link to them.
However, since enabling Cloudfront, I am getting this error whenever I try to access a direct download (secured):
and the secured video link is giving this error within the video screen:
(Attempting to run from within JW Player using the secure link)
The only relevant thread I can find in the forum is here, but after he mentions that error he starts talking about a different error, as if he somehow solved it, without saying how. And there is no mention of the video streaming error; I've tried to search for it and information is sparse and unhelpful, so I'll just presume it's related to the same issue as not accessing the secured download, since the video works fine when I stream a direct link that is unsecured on Amazon S3.
When I try to select "Yes, automatically configure my Amazon® CloudFront Distributions & Amazon® S3 ACLs for me." in my Cloudfront settings, it returns the error:
I have also tried using a different key pair, and I am sure that I've pasted in the right code (from the pk-[***].pem file). I also have the latest version of the plugin.
Advice appreciated - I'll have no choice but to make everything publicly downloadable for my new site tomorrow until I can solve this problem. (Or at least remove any reference to Cloudfront and hopefully be back to my prior state of a direct download secured link working, and using non-secured for the streaming version).
Thanks for any advice...
However, since enabling Cloudfront, I am getting this error whenever I try to access a direct download (secured):
- Code: Select all
Fatal error: s2Member was unable to generate an RSA-SHA1 signature. Please make sure your installation of PHP is compiled with OpenSSL: `openssl_sign()`. See: http://php.net/manual/en/function.openssl-sign.php in /home/irishpolyglot/speakfromday1.com/wp-content/plugins/s2member/includes/classes/utils-strings.inc.php on line 426
and the secured video link is giving this error within the video screen:
- Code: Select all
Task queue failed at step 5 playlist could not be loaded error #1085
(Attempting to run from within JW Player using the secure link)
The only relevant thread I can find in the forum is here, but after he mentions that error he starts talking about a different error, as if he somehow solved it, without saying how. And there is no mention of the video streaming error; I've tried to search for it and information is sparse and unhelpful, so I'll just presume it's related to the same issue as not accessing the secured download, since the video works fine when I stream a direct link that is unsecured on Amazon S3.
When I try to select "Yes, automatically configure my Amazon® CloudFront Distributions & Amazon® S3 ACLs for me." in my Cloudfront settings, it returns the error:
several times, and then it works (asking to wait 30 minutes), but the "automatically configure..." option is unticked. To tick it again, it starts over again with the error message. Not sure if that's important.Error code: -95. Error Message: Unable to delete existing Amazon® CloudFront Downloads Distro. Existing Amazon® CloudFront Distro cannot be deleted at this time. Still in a `pending` state after having been disabled by s2Member. Please wait 15 minutes, then try again. There is a certain process that s2Member must strictly adhere to when re-configuring your Amazon® CloudFront Distros. You may have to tick the auto-configure checkbox again, and re-run s2Member's auto-configuration routine many times, because s2Member will likely run into several `pending` challenges, as it works to completely re-configure your Amazon® CloudFront Distros for you. Thanks for your patience. Please wait 15 minutes, then try again.
I have also tried using a different key pair, and I am sure that I've pasted in the right code (from the pk-[***].pem file). I also have the latest version of the plugin.
Advice appreciated - I'll have no choice but to make everything publicly downloadable for my new site tomorrow until I can solve this problem. (Or at least remove any reference to Cloudfront and hopefully be back to my prior state of a direct download secured link working, and using non-secured for the streaming version).
Thanks for any advice...