We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 011f204 + 07084e6 commit 4a34e4eCopy full SHA for 4a34e4e
articles/mariadb/howto-configure-ssl.md
@@ -95,9 +95,21 @@ client = Mysql2::Client.new(
95
:username => 'myadmin@mydemoserver',
96
:password => 'yourpassword',
97
:database => 'quickstartdb',
98
- :ssl_ca => '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'
+ :sslca => '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'
99
+ :ssl_mode => 'required'
100
)
101
```
102
+#### Ruby on Rails
103
+```ruby
104
+default: &default
105
+ adapter: mysql2
106
+ username: username@mydemoserver
107
+ password: yourpassword
108
+ host: mydemoserver.mariadb.database.azure.com
109
+ sslca: BaltimoreCyberTrustRoot.crt.pem
110
+ sslverify: true
111
+```
112
+
113
### Golang
114
```go
115
rootCertPool := x509.NewCertPool()
0 commit comments