mmm, you can use ssl without using a public certificate, if it's your certificate I think you can trust it. Secondly, you can use a valid and certified free ssl certificate, take a look at http://www.startssl.com/
Regards. 2012/7/31 Robin Manoli <ramat...@gmail.com>: > Hey, > I'm looking for an alternative way to encrypt data, a free way rather than > to pay for an ssl certificate. > > The case is as follows: there are two servers, one local on the office which > contains a database, and another public web server which needs to > synchronize data with the local server. Using ssl I could use json or post > forms from the local server to the web server so the data will be encrypted. > > I thought of another method however, with php I could use mycrypt with a > secret key known by both servers. Probably this isn't as secure as ssl, but > in this case I'd rather not pay for the encryption rather than having a very > secure one. > > Another thought would be to just use ssl without a valid certificate... > > Well, I wonder how you would do this in web2py, if you in any case would > recommend the encryption method I suggested. > > Thanks! > - Robin > > -- > > > --