'How to connect to Aurora using SSL and NHibernate?
It seems I am unable to specify a TLS version or can someone help decipher this error? I am able to connect from the linux machine using mysql command line and the application is able to execute queries but it does not work when using persistence.
SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL.
error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert
var nHibernateConfiguration = Fluently.Configure()
.Database(MySQLConfiguration.Standard
.Driver<MySqlDataDriver>()
.ConnectionString("NServiceBusPersistence"))
.ExposeConfiguration(
c =>
c.SetProperty(NHibernate.Cfg.Environment.SqlTypesKeepDateTime, bool.TrueString))
.BuildConfiguration();
var nHibernatePersistence = endpointConfiguration.UsePersistence<NHibernatePersistence>();
nHibernatePersistence.UseConfiguration(nHibernateConfiguration)
.DisableTimeoutStorageSchemaUpdate()
.DisableSchemaUpdate();
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
