SSL Connection String
Hi Ray,
I have managed to set up my database to only allow incoming SSL connections and I can connect to it through MYSQL Workbench but how do I set my connection string up to connect using SSL. My current connection string is (I have removed the ip, database, user and password).:
<?php
# FileName="WADYN_MYSQLI_CONN.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_dmbc_database = "ip";
$database_dmbc_database = "database";
$username_dmbc_database = "user";
$password_dmbc_database = "password";
@session_start();
$dmbc_database = new mysqli($hostname_dmbc_database, $username_dmbc_database, $password_dmbc_database, $database_dmbc_database);
$dmbc_database->set_charset('utf8');
?>
I have created the 3 files I need
client-cert.pem
client-key.pem
server-ca.pem
What do I need to do with these files and how do I amend the connection string.
I feel that this is not directly related to your products but I know you will be able to help based on our previous interactions. Please feel free to invoice me via PayPal at info@dmballooncompany.com for a premium ticket.
Kind regards.
Mark