We're trying to test loading data from our on-premise SQL Server 2008R2 machine to ParaSQL using SymmetricDS. We have a dedicated server instance with ParaSQL which requires an SSL connection. Certificates are provided by ParaSQL.
Where we're stuck is how to configure SymmetricDS to use secure socket layer for this connection. We can find some info in the documentation on how to generate keys on our end, but nothing on how to connect using provided certificates.
Does anyone here have any experience with that?
Thanks in advance.
With SymmetricDS there is an SSL connection between the SymmetricDS nodes, and a different one between the JDBC driver and the database itself. The keys you are generating sound like they are for the node-to-node SSL. I believe what you need to do is setup the ParaSQL supplied SSL certificates for the JDBC driver that is making the connection to the database.
Related
I need to know which "query protocol" Wso2 Identity Server is using to connect with PostgreSQL Database.
Thanks in advance.
WSO2 is using Postgress JDBC Driver to connect to Postgress Database, hence does not explicitly handle connections. As per the Postgres documentation, the following is the default protocol that's being used.
The driver supports the V3 frontend/backend protocols. The V3 protocol was introduced in 7.4 and the driver will by default try to connect using the V3 protocol.
Also, it seems you can set the protocol version as a JDBC connection property as well. So you should be able to change this by adding this to Datasource configurations.
I am trying to connect my RDS instance to a Jmeter load test however no matter what I try, I keep getting this error message in the Results Tree:
Cannot create PoolableConnectionFactory (The connection to the host database-1.cqdkrfikhe1t.us-east-1.rds.amazonaws.com, named instance database-1 failed. Error: "java.net.SocketTimeoutException: Receive timed out". Verify the server and instance names and check that no firewall is blocking UDP traffic to port 1434. For SQL Server 2005 or later, verify that the SQL Server Browser Service is running on the host.)
I feel it may be a problem with my Database URL in JDBC Connection Configuration.
The picture below shows the summary report.
I have mainly tried rewriting the Database URL multiple different ways but none of them seem to work. I have also tried removing and reinstalling the JDBC Drivers but that doesn't seem to work either. I have absolutely no idea what the problem could be. Could someone please help me out with this problem?
Edit: When I change the Database URL I sometimes get this error
message as well:
Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets
Layer (SSL) encryption. Error: "PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target".
ClientConnectionId:9b700d73-f3f0-4cf6-b3a4-607fa9827219)
I think you need to use port 1433
Check out Connecting to a DB instance running the Microsoft SQL Server database engine article
So cross check the port number, VPC options, public accessibility, etc. with the values from the JDBC Connection Configuration
More information: The Real Secret to Building a Database Test Plan With JMeter
I have a server (A) hosted on GCloud VM instance which points to an SQL database (B) also hosted on GCloud. Within the program on server A there is a JDBC connector used to access and edit info on server B. Recently after restarting server A, the connector records the following error:
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]".
The SQL instance (B) is set to 'allow unsecure connections'.
If anyone could help me solve this error message I will appreciate it greatly.
I am very new to all of these things, so it would be great if you could be very descriptive with any responses.
I need to discover the running db2 servers in a network.
I tried to connect to all servers in the network using the JDBC connection. But the problem is while using JDBC, we need to specify the database name in the URL. As of now, I tried to connect to the SAMPLE database. But if a db2 instance does not have the SAMPLE database, the connection will fail.
So I want to know the other possibilities to discover db2 servers in a network and also Is there any way to connect to the instance of the db2 server unlike connecting to a particular database(Similar to SQL - Connecting to an instance using port only)
Db2 administration server (DAS) has the corresponding functionality. Refer to the following link:
Discovery of administration servers, instances, and databases.
Note, that DAS is deprecated and may be removed in future Db2 releases.
I am using the mssql client for node.js to connect to SQL Server 2014. This is working great, however there is now a new requirement to use the highest level encryption (TLS 1.2) for communications to all databases. The only documentation I am able to find on encrypted connection to SQL Server in Node.js is the encrypt:true property of the connection options which is designated for Azure connections. This is an on-premise database, when i do set encrypt:true the connection just stalls. No error, just does not successfully connect. Any help with direction on this is greatly appreciated.
After doing some testing with MSSQL driver, I was able to successfully connect to SQL Server 2014 over TLS 1.2 by having our DBA's force encryption at the database and require TLS 1.2, then adding the encrypt:true property to the connection options. Our production app has an ORM layer through Sequelize so using the native MSSQL under the hood, I added
dialectOptions {
encrypt: true
}
to the Sequelize connection object and tada