That's all worked fantastically. I do however have some security concerns regarding the use cURL. I've done some research and ascertained that the hosting service should ensure that the PHP installation on the server has an up to date CA root certificate bundle.
Apparently the path then need to be set in php.ini using something like this:
curl.cainfo=PATH/TO/FILE
But that's something for the server guys to do.
I understand there's a couple of options I need to use in my curl request to check the ssl certificate is valid before sending any sensitive data and avoid a man in the middle attack where possible. Now these are the options I have set at the moment:
I've found the following and wonder if the following is the correct usage if I just add them? Also what is the correct method of testing? I wanna make this as bulletrpoof as possible:
Question
Axel
This is a follow up from this particular thread:
http://www.neowin.ne...age-to-another/
That's all worked fantastically. I do however have some security concerns regarding the use cURL. I've done some research and ascertained that the hosting service should ensure that the PHP installation on the server has an up to date CA root certificate bundle.
Here?s info on installing it:
http://curl.haxx.se/.../caextract.html
Apparently the path then need to be set in php.ini using something like this:
curl.cainfo=PATH/TO/FILE
But that's something for the server guys to do.
I understand there's a couple of options I need to use in my curl request to check the ssl certificate is valid before sending any sensitive data and avoid a man in the middle attack where possible. Now these are the options I have set at the moment:
I've found the following and wonder if the following is the correct usage if I just add them? Also what is the correct method of testing? I wanna make this as bulletrpoof as possible:
Many thanks for the help!
Alex
Link to comment
Share on other sites
1 answer to this question
Recommended Posts