« MBS Real Studio Plugi… | Home | MBS Filemaker Plugin,… »

SSL Security with CURL


With our plugin you can connect to FTP/HTTP/SMTP/POP3/IMAP servers and use SSL for the encryption of all the data going through network. Now a lot of users run into the fact that by default CURL library disallows unsecure SSL connections.

So you can of course simply disable security by setting the options OptionSSLVerifyHost and OptionSSLVerifyPeer both to zero. This will accept any connection and transfer all data encrypted, but people could read it with a simple man in the middle attack.

For security, you can set OptionSSLVerifyHost to 2 to verify the server identity and set OptionSSLVerifyPeer to verify the certificate. Also you need a cacert.pem file with certificates. You can download it on the curl website. Than use OptionCAInfo with the path to let CURL load the certificates from this file.

If you have connection problems, please collect debug messages and check the text there for details on why your connection failed.
31 01 13 - 23:14
No comments

  
Remember personal info?

Emoticons / Textile


Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.