MariaDB SQL over SSL/TLS

  Рет қаралды 13,057

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

Пікірлер: 27
@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
@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 3 жыл бұрын
Seriously GREAT content. TYSM!
@robertoflores2078
@robertoflores2078 2 жыл бұрын
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.
@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!
@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.
@itSinger
@itSinger 19 күн бұрын
Masterpiece
@miguelangelmorenohernandez9444
@miguelangelmorenohernandez9444 3 жыл бұрын
Good example, thanks for sharing this practical case.
@raphaels190
@raphaels190 2 жыл бұрын
Dude you're a life saver, Ty!
@TheZackattack1029
@TheZackattack1029 2 ай бұрын
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.
@That_Adams_Guy
@That_Adams_Guy 3 жыл бұрын
Great explanation. Very clear and well presented.
@FF7824
@FF7824 2 жыл бұрын
Very well done!! Thank you!
@forric23
@forric23 Жыл бұрын
Subscribed - thank you! Great video!
@gosnooky
@gosnooky Жыл бұрын
It would be interesting to know how to do this with Dockerized MariaDB servers. Good video, great pace and speaking style.
@yosharma5210
@yosharma5210 2 жыл бұрын
Man you are genius..i was looking for so many other videos but yours just awesome..kudos I have become a fan
@davebound268
@davebound268 2 жыл бұрын
Brilliant explanations of many things. Thanks!
@ritugupta3367
@ritugupta3367 5 ай бұрын
Thanks! very informative video. and actual solution.
@samtiny6332
@samtiny6332 3 жыл бұрын
Thank you .
@federicovazquezmorales4510
@federicovazquezmorales4510 2 жыл бұрын
Imper clear!! Thk u
@yosharma5210
@yosharma5210 2 жыл бұрын
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
@LordOfWizardurl
@LordOfWizardurl 3 жыл бұрын
You are smart now. I am not sure what to call you Bro or Uncle?
@WestCoastSwinger
@WestCoastSwinger Жыл бұрын
The only valid point made in this video is that St Louis is better than Denver.
@kusumo1920
@kusumo1920 2 жыл бұрын
How about docker?
@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?
@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.
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
Laith Academy
Рет қаралды 85 М.
WireGuard VPN with TLS Tunneling
41:13
Nerd on the Street
Рет қаралды 31 М.
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 24 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 46 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 212 МЛН
Apache Virtual Hosts
40:20
Nerd on the Street
Рет қаралды 101 М.
Host a Jitsi Meet Server
26:48
Nerd on the Street
Рет қаралды 165 М.
SSL/TLS Explained in 7 Minutes
7:38
Sematext
Рет қаралды 28 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,5 МЛН
Wait... PostgreSQL can do WHAT?
20:33
The Art Of The Terminal
Рет қаралды 191 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 186 М.
SQL Injection Hacking Tutorial (Beginner to Advanced)
1:01:05
David Bombal
Рет қаралды 198 М.
Disk Management - Bash Basics (Linux CLI)
53:45
Nerd on the Street
Рет қаралды 6 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 346 М.
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 10 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 3,4 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,2 МЛН
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 963 М.