Thanks for the ideas. I have seen those urls.
I use ssl and certificates on Samba domain controller, sendmail server,
imap server, poudriere server, apache, and nginx. I use Let's Encrypt
certificates.
Yeah, I see no "follow these steps to make this work" type answer. That
is why I was wanting to study this type of connection. Most people want
to do a self signed certificate.
When I enable the certificate on the phpMyAdmin (client side).
I see this error on the webpage when phpmyadmin tries to connect to the
MariaDB:
mysqli::real_connect(): SSL operation failed with code 1. OpenSSL Error
messages: error:1416F086:SSL
routines:tls_process_server_certificate:certificate verify failed
So... to get past that error (on the client side)-->
$cfg['Servers'][$i]['ssl_verify'] = false;
Then I see this error:
mysqli::real_connect(): SSL operation failed with code 1. OpenSSL
Error messages: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert
unknown ca
I think this is the smoking gun:
d:\web\phpmyadmin\cert>openssl s_client -connect
smp5.smallcatbrain.com:3306
> d:\desktop\aa.txt
537102848:error:1408F10B:SSL routines:ssl3_get_record:wrong version
number:../ss
l/record/ssl3_record.c:331:
CONNECTED(00000003)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 326 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
I will take a fresh look at this in a couple of days.