Questions tagged [ssl]

Secure Sockets Layer (SSL) is a cryptographic protocols that provide communication security over the Internet.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

SSL Configuration fails with a warning MySQL 8.0

Hi I am trying to set up a MySQL server 8.0.16 on RHEL 7.5. The configuration I am willing to include for this server contains SSL related options. The MySQL server is initialized but with a warning ...
0
votes
1answer
56 views

Using letsencrypt with postgresql [closed]

I'm trying to use letsencrypt to generate certs in order to encrypt communication between a remote client and my postgresql database server. I'm not sure how to get started on setting this up. What ...
0
votes
1answer
14 views

How to find SSL root cert that made connection to the database in PostgreSQL?

When we connect to postgreSQL via ssl-mode=verify-full how will I make sure if the certificate I passed is used while making the connection? With ssl_is_used(); shows only true or false. Is there ...
0
votes
0answers
103 views

Error 2026: SSL Connection Error: Failed to verify the server certificate via X509 certificate matching functions

MySQL Server: Enterprise Edition 8.0.16-Commercial OS: RHEL 7.5 (Maipo) 3.10.0-862.11.6.el7.x86_64 I am trying to understand SSL/TLS enabled connections for MySQL servers. I am trying to configure it ...
0
votes
0answers
325 views

How to generate a self-signed SSL certificate for MS SQL server 2008 R2 using OpenSSL?

Using OpenSSL, I'd like to generate a self-signed certificate for usage with Microsoft SQL server 2008 R2. This might be unusual, but I'd like to learn what's going on behind the scenes. I have ...
1
vote
1answer
88 views

Remove expired certificate SQL Server

I am trying to delete an expired certificate from my database server. The certificate was used to encrypt connections to sql server 2014 r2. We no longer have a need to encrypt connections and so we ...
0
votes
0answers
54 views

Update Certificate in Oracle Wallet

We have been downloading data from our vendor for over ten years over the Internet through an encrypted connection enabled by an Oracle Wallet. The self-signed certificate expired, so the vendor sent ...
1
vote
1answer
45 views

Configuring SQL Server for SSL Encryption

I'm new to the DBA role and I've been tasked with configuring a SQL Server install for a client, with the requirement that databases will be distributed across two instances. Connections to one of ...
1
vote
1answer
118 views

MariaDB/MySQL SSL Replication Failure

After searching for a solution for the last 6 hours, I have come up dry in my attempt to add SSL to the replication. I managed to get it to connect with SSL via the mysql command line tool without ...
0
votes
1answer
22 views

How to secure my data queried from my local MySQL server on a remote machine with root shared with untrusted entity?

I have a remote client machine put in a server center owned by an entity who must also have the root of the client machine according to industry regulations. The client machine runs a C++ program that ...
0
votes
0answers
41 views

Using MySQL C connector (libmysqlclient) may bypass REQUIRE SSL?

I'm trying to add SSL to my MariaDB server. I followed the instructions at https://www.cyberciti.biz/faq/how-to-setup-mariadb-ssl-and-secure-connections-from-clients/ and enabled SSL on the database ...
0
votes
0answers
33 views

Do I need client or server cert for mySQL master/master replication?

WE use pkitool to sign any certificate using our own CA and there are two options to sign a certificates: using --sign, which creates a client-cert Using --server, which creates a server-cert The ...
1
vote
0answers
157 views

Unable to Connect to SQL Server 2005 through ODBC drivers from Windows 2012 server

We are unable to connect to a specific Database server which has SQL Server 2005 installed on Windows 2003 server from any of the Windows Server 2012. It used to work till last week, the only change ...
0
votes
1answer
469 views

How to set up signed SSL Root and Leaf certificates on a PostgreSQL 11 database on Ubuntu and Windows 10 Power BI plus PostgreSQL?

I have Power BI and PostgreSQL 11 installed on Windows 10 and my primary PostgreSQL 11 database on Ubuntu 18.10 Linux. I edited the postgresql.conf and pg_hba.conf files correctly to the IP Adresses ...
0
votes
0answers
34 views

How to use the Percona Toolkit to connect to Azure Database for MySQL when SSL is enabled

I am attempting to use the pt-show-grants to connected to a MySQL instance with SSL enabled. $ pt-show-grants --version pt-show-grants 3.0.9 If I attempt to connect to my database without any ...
1
vote
1answer
70 views

SQL Services Wont Start After Removing TLS [duplicate]

I need to remove TLS 1.0 from one of my SQL servers. When I do so and then reboot the server the SQL services dont start automatically. When I attempt to start them I get an error that it cant be done....
2
votes
1answer
1k views

how to generate the root CA.pem in mongodb for configuring the ssl certificates?

I am trying to configure the SSL certificates in the MongoDB community edition. The configuration of my mongod.conf net: port: 27017 bindIp: 0.0.0.0 # Enter 0.0.0.0,:: to bind to all IPv4 and ...
0
votes
0answers
31 views

SSL certificate is not sent to MySql Server while connecting from MySql C connector

I am writing a C program to communicate to MySql server (running on linux) as root, for whom REQUIRE SSL is set. In this program I am using following function call (from libmysqlclient.so) to set SSL ...
0
votes
1answer
280 views

How do I debug/set up MariaDB SSL connection?

[ I originally posted this on ServerFault but then was pointed at this community ] Since moving from MySQL to a newer MariaDB installation on Debian 9, I a struggling with SSL connections. I have ...
0
votes
1answer
294 views

Postgres still connecting via SSL - despite invalid certificates

I'm playing around with SSL connections to a test postgres server and I'm finding I can still initiate an SSL connection despite invalid certificates. (The valid date has expired) I have enforced SSL ...
1
vote
0answers
41 views

Force psqlODBC Postgres drivers to use Windows Trusted Root Certificate Store

I need to configure my client software to use SSL when connecting to a postgres database (sslmode=verify-full). The configuration requires me to specify a root certificate file in the following ...
0
votes
1answer
266 views

How to remotely manage (with PhpMyAdmin) a MySQL RDS on a load-balanced AWS Elastic Beanstalk setup?

Although there are similar questions and topics, I can't find a solution that currently works. I specifically wrote remotely manage because I'd like to use my home computer's PhpMyAdmin to directly ...
0
votes
1answer
239 views

Does requiring SSL matter if using AWS RDS and AWS EC2 in a VPC

I have a MySQL RDS DB and am connecting it through an EC2 instance. My RDS isn't publicly accessible, so I think it can only be connected to through my EC2 instances. I see at this link https://...
0
votes
1answer
174 views

Mariabackup Throws Unknown Argument Error

I have just installed the MariaDB backup tool based on Percona Xtrabackup, Mariabackup, on my CentOS 7 system with MariaDB v10.1. However, when I try to test using this tool, it fails immediately ...
0
votes
0answers
20 views

MySQL 5.5 replication over SSL broken after upgrading OpenSSL, OS

I've got an issue where, after upgrading a replication slave from Ubuntu 14.04 to 16.04, this slave can no longer connect to its master using SSL. Setup before the upgrade: 1 master, 2 slaves, ALL ...
1
vote
1answer
372 views

Connection string for connecting mongo database with SSL enabled

Am facing some below problem in my mongodb replication environment I have 3 replica set environment with SSL enabled and ssl mode as preferSSL 3 servers has 3 different Key file with common CA file ...
1
vote
0answers
47 views

SSRS default URL not being referenced from Windows application

I have installed and configured SSRS and when I check the URL via HTTP it works fine (I haven't configured SSL). When I try to run a report from the Windows application, I get the following error ...
2
votes
2answers
2k views

How to verify SSL always being used on Postgresql 9.6

I have a sensitive application with app server and db on separate machines, and in the case of the slave db, in separate data-centers. Although I believe my postgresqls are configured to always use ...
1
vote
0answers
204 views

SSL certificate for MS SQL Server

I'm trying to implement SSL certificate on a SQL Server and I already tried two methods. I tried with lets encrypt service and self certificate generated on Powershell. In the first scenario I can ...
0
votes
1answer
285 views

`Encrypt Connection` causes an invalid certificate error even though server-side encryption is forced

I have a SQL Server set up to force encrypted connections from all client. It has a standard SSL certificate, using Let's Encrypt as the CA. Browsing to the server via a web browser verifies that the ...
1
vote
1answer
42 views

Using a real certificate with rethinkdb cert chain bundle

I know the rethinkdb guide uses a self signed cert as an example. If I wanted to use a real certificate that I purchased, how can I add the bundle to the server conf? I add the certificate I purchased ...
3
votes
3answers
285 views

MySQL SSL replication error 2026

I've been searching and testing for hours and still can't figure this out. MySQL version 5.7.23 on both slave and master. Replication over SSL is failing with the following error message: Slave I/...
1
vote
1answer
26 views

Why MongoDB not running SSL?

I need to run MongoDB with SSL, the version that is currently installed is 3.4.16 without SSL. Can I download 3.4.16 with SSL and just stop the service copy the Bin files across and then start up the ...
1
vote
1answer
541 views

Postgresql install adding openssl

I install postgresql in my ubuntu Server 18.04 LTS, and I want it support OpenSSL. I do the lengthy way with PostgreSQL source code installation, where I can select the openssl feature: ./...
2
votes
0answers
1k views

Configuration of TCP/IP with SSL and TLS for Oracle

I am trying to configure the connections to my Oracle database with tcp / ip using ssl I have been guided by the procedure of the site https://oracle-base.com/articles/misc/configure-tcpip-with-ssl-...
1
vote
1answer
503 views

SQL Server 2012 not loading its self-generated SSL certificate

I have a requirement to remove the SSL certificate that is being used by a SQL Server 2012 SP4 database instance for data in transit encryption. The client wants the SQL Server to load its self-...
2
votes
1answer
3k views

Is it impossible to force MariaDB users to SSL?

First of all, my english is really bad, so sorry for my english mistakes. I have a MariaDB 10.2.15. I installed SSL, and its working fine, but I cant force use SSL to users. my.cnf: [mysqld] ssl ssl-...
2
votes
1answer
4k views

MongoDB SSL peer certificate validation failed: unable to get issuer certificate

I have enabled SSL on MongoDB with optional SSL connection: preferred. I have used lets encrypt in order to obtain SSL certificates. SSLs works as expected and in mongod.log file I can see that: ...
0
votes
1answer
95 views

SSL errors with Couchdb on Ubuntu 14.04

I am beginning to set up CouchDB on an Ubuntu 14.04 Server (yes, it expires next year) and I'm having troubles setting up SSL connections. For the moment, I don't have any CA signed certs for it, so I'...
2
votes
1answer
812 views

MongoDB gives certificate not trusted while openSSL says keys is OK

I have used let's encrypt to generate SSL certification. All the private key, chain and certificate is generated by `let's encrypt. Now to use it in MongoDB I first merged privkey.pem and cert.pem ...
1
vote
1answer
74 views

How to stop MySQL recreating SSL files on restart

We're using MySQL 5.7.22. Each time I restart MySQL it creates a set of SSL files ( ca-key.pem etc) in the datadir. The problem is that I already have these files on the server, in /etc/mysql/ssl. ...
2
votes
1answer
2k views

PostgreSQL - SSL connection without providing the root-ca certificate?

I set the following parameters to enable SSL on my PostgreSQL server: ssl = True ssl_ca_file = 'path-to-root-ca' ssl_cert_file = 'path-to-server-crt' ssl_key_file = 'path-to-server-key' For my ...
0
votes
1answer
375 views

SSLServerHasCertificateAuthority is false but the certificate is signed by a trusted CA

I am enabling TLS/SSL encryption on a remote MongoDB instance (running on Windows Server 2012 R2). On the instance's server, devserver.external, I have created an SSL certificate. The CN on the ...
0
votes
1answer
329 views

How do I manage SSL credentials for multiple Postgres connections?

We're setting up Redash and need to connect to multiple Data Sources that are Postgres databases that require SSL connections. I have a postgres.key and postgres.crt file from each database. Redash is ...
5
votes
2answers
4k views

MySQL SSL error: Unable to get private key

Getting an error while trying to enable encryption: [ERROR] SSL error: Unable to get private key from '/etc/mysql/ssl/nginx.key' [Warning] Failed to set up SSL because of the following SSL library ...
4
votes
1answer
3k views

How to enable force ssl on AWS Aurora Postgres?

In AWS's direct postgres offering RDS Postgres, you can require SSL by setting the parameter group item rds.force_ssl to 1. This is as per the RDS postgres documentation: https://docs.aws.amazon.com/...
4
votes
3answers
1k views

How do I test if MySQL “require secure transport” is working?

I activated the checkbox named "require secure transport" in the options file, found in the MySQL Workbench. How do I know if MySQL "require secure transport" is working? Should I use command line at ...
1
vote
1answer
11k views

mysql workbench failed to connect at localhost:3306 with user root ssl connection error: ssl is required but the server doesn't support it [closed]

Not sure what the answers are, but I will say that I have not found the answers on how to make this work again. The keyword support makes me think that a payment is required for this feature, but I'm ...
3
votes
2answers
1k views

Update expiring Mongo cluster SSL certificate

I have a multi-node mongo cluster using SSL requireSSL and the certificates are going to expire. Is there a zero-downtime method to update the certs? I know the easiest way would be to stop all nodes, ...
0
votes
1answer
441 views

Oracle JDBC TLS connection fails (handshake_failure) after OS upgrade

I have an Oracle Database 12.1 server running on Oracle Linux 6. Secure (TLS) connections were working fine until I decided to update the underlying operating system (yum update) and reboot the ...