Skip to content

Commit

Permalink
CAcert example sidorares#41
Browse files Browse the repository at this point in the history
  • Loading branch information
sidorares committed Aug 30, 2013
1 parent 213d375 commit e2c886a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/ssl/select-over-ssl.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ var conn = mysql.createConnection({
host: '127.0.0.1',
port: '3306',
ssl: {
key: fs.readFileSync('./certs/client-key.pem'),
cert: fs.readFileSync('./certs/client-cert.pem')
//key: fs.readFileSync('./certs/client-key.pem'),
//cert: fs.readFileSync('./certs/client-cert.pem')
ca: fs.readFileSync('./certs/ca-cert.pem')
}
});

Expand Down

0 comments on commit e2c886a

Please sign in to comment.