MariaDB SQL over SSL/TLS

  Рет қаралды 12,582

Nerd on the Street

Nerd on the Street

3 жыл бұрын

If you're accessing a MariaDB or MySQL server remotely, you should set up SSL/TLS encryption to secure the traffic. Join me as I configure a MariaDB server to serve over TLS, then set up a MariaDB client and a PHP PDO application to access the server over TLS.
The commands I used in this video can be found in text form here: nerdonthestreet.com/wiki?find...
---
Join the Nerd Club: nerdclub.nots.co
Official website: nerdonthestreet.com
Discord server: discord.nots.co
Subreddit: / nerdonthestreet
Facebook page: / nerdonthestreet
Twitter feed: / nots_network
E-Mail: jacob@nerdonthestreet.com

Пікірлер: 26
@Stronger108
@Stronger108 2 жыл бұрын
This is the most fantastic video I think I've ever set my eyes on. Not only did you explain from start to finish, you explained plenty of niche things to look out for that normally actually did hang me up for a long time without your video. You are fantastic
@MrSpecialR
@MrSpecialR 3 жыл бұрын
Great tutorial. I probably won't be doing this soon, but it did give me some ideas. As I'm only getting services/servers to run on my local network I have a local DNS that gives out domain names to my machines, but those running on SSL are self-signed for obvious reasons and browsers keep giving me the certificate warnings and in some instances, like testing out a local BigBlueButton server which requires SSL and WebRTC to work needs a signed certificate from a trusted authority, so I hit a brick wall there. The part where you demonstrated on how to get the server to act like a certificate authority for the MariaDB client gave me the idea to make a dedicated CA server for the local domains, so thank you!
@robertoflores2078
@robertoflores2078 Жыл бұрын
Great video. For those using MySQL 8, notice that it comes with certs out-of-the-box. Also you can use mysql_ssl_rsa_setup to generate certs without all the hassle.
@dougfaucette2748
@dougfaucette2748 2 жыл бұрын
Fantastic presentation. Well done. Really appreciate the demo of showing how to use SSL with PHP & PDO drivers. This will save me hours of research on my own.
@RobMitchell2009
@RobMitchell2009 2 жыл бұрын
Seriously GREAT content. TYSM!
@sagarclassic2336
@sagarclassic2336 2 жыл бұрын
Absolutely like this video. Explained every bit of it. Nice one. I would recommend explaining a bit more on how a client uses its certificate to talk to mariadb server on SSL to have a better understanding. Thanks for this great video again. Subscribing ur channel for more videos.
@miguelangelmorenohernandez9444
@miguelangelmorenohernandez9444 3 жыл бұрын
Good example, thanks for sharing this practical case.
@raphaels190
@raphaels190 2 жыл бұрын
Dude you're a life saver, Ty!
@gosnooky
@gosnooky Жыл бұрын
It would be interesting to know how to do this with Dockerized MariaDB servers. Good video, great pace and speaking style.
@FF7824
@FF7824 2 жыл бұрын
Very well done!! Thank you!
@That_Adams_Guy
@That_Adams_Guy 3 жыл бұрын
Great explanation. Very clear and well presented.
@yosharma5210
@yosharma5210 Жыл бұрын
Man you are genius..i was looking for so many other videos but yours just awesome..kudos I have become a fan
@forric23
@forric23 Жыл бұрын
Subscribed - thank you! Great video!
@ritugupta3367
@ritugupta3367 3 ай бұрын
Thanks! very informative video. and actual solution.
@davebound268
@davebound268 Жыл бұрын
Brilliant explanations of many things. Thanks!
@TheZackattack1029
@TheZackattack1029 20 күн бұрын
Great tutorial, I am getting "Error: SQLSTATE[HY000] [2002]" trying to use PDO, everything works because I can connect to the database using workbench with the same PEM files.
@yosharma5210
@yosharma5210 Жыл бұрын
CAn we only make one way ssl secure that is the application is using the public cert i.e ca-cert.pem and connect to mariadb over ssl
@federicovazquezmorales4510
@federicovazquezmorales4510 2 жыл бұрын
Imper clear!! Thk u
@samtiny6332
@samtiny6332 3 жыл бұрын
Thank you .
@LordOfWizardurl
@LordOfWizardurl 3 жыл бұрын
You are smart now. I am not sure what to call you Bro or Uncle?
@albongo5688
@albongo5688 2 жыл бұрын
Hey, thank you for this great tutorial. I am trying to set up a database server on Ubuntu 20.04 with mariadb and do get the following error message when trying to connect: 'ERROR 2026 (HY000): SSL connection error: The certificate is NOT trusted. The name in the certificate does not match the expected. ' I've repeated all steps several times now, ensuring every command is correct. I didn't change anything else regarding server or client configuration, it is a clean installation. I did use different common names in each file and so on. I also tried concatinating the server-cert and client-cert. Any idea/solution to this?
@Stronger108
@Stronger108 2 жыл бұрын
Also running into this issue... Looks like not much support on the topic on Google. Did you figure this out?
@kusumo1920
@kusumo1920 2 жыл бұрын
How about docker?
@WestCoastSwinger
@WestCoastSwinger Жыл бұрын
The only valid point made in this video is that St Louis is better than Denver.
@Robay146
@Robay146 Жыл бұрын
Hey NOS. Thanks, for this. I have tried using the 'openssl rsa -in ./server-key.pem -out ./server-key-rsa.pem' command but I don't get the 'BEGIN RSA PRIVATE KEY' statement. Please help. I'm using Jammy.
Transport Layer Security (TLS) - Computerphile
15:33
Computerphile
Рет қаралды 467 М.
WireGuard VPN with TLS Tunneling
41:13
Nerd on the Street
Рет қаралды 29 М.
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 94 МЛН
MOM TURNED THE NOODLES PINK😱
00:31
JULI_PROETO
Рет қаралды 8 МЛН
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,4 МЛН
How to create a valid self signed SSL Certificate?
25:01
Christian Lempa
Рет қаралды 333 М.
How does HTTPS work? What's a CA? What's a self-signed Certificate?
11:02
Host a Jitsi Meet Server
26:48
Nerd on the Street
Рет қаралды 164 М.
Getting Started with Ansible (Part 1)
59:23
Nerd on the Street
Рет қаралды 20 М.
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 95 М.
Apache Virtual Hosts
40:20
Nerd on the Street
Рет қаралды 98 М.
Lecture 6: Version Control (git) (2020)
1:25:00
Missing Semester
Рет қаралды 663 М.
🤔Почему Samsung ПОМОГАЕТ Apple?
0:48
Technodeus
Рет қаралды 461 М.
Huawei который почти как iPhone
0:53
Romancev768
Рет қаралды 515 М.
Pratik Cat6 kablo soyma
0:15
Elektrik-Elektronik
Рет қаралды 8 МЛН
👎Главный МИНУС планшета Apple🍏
0:29
Demin's Lounge
Рет қаралды 490 М.