File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,14 +104,12 @@ public RepositoryRegistry()
104104
105105 Func < SocketsHttpHandler > CreateHttpMessageHandler = ( ) => new SocketsHttpHandler
106106 {
107-
108107 SslOptions = new SslClientAuthenticationOptions
109108 {
110109 RemoteCertificateValidationCallback = ( sender ,
111110 certificate ,
112111 chain ,
113112 errors ) => {
114-
115113 return true ;
116114 }
117115 }
Original file line number Diff line number Diff line change @@ -77,8 +77,7 @@ internal static void ConfigureEventStoreSettings(EventStoreClientSettings settin
7777 settings . ConnectivitySettings = EventStoreClientConnectivitySettings . Default ;
7878 settings . ConnectivitySettings . Address = new Uri ( Startup . Configuration . GetValue < String > ( "EventStoreSettings:ConnectionString" ) ) ;
7979 settings . ConnectivitySettings . Insecure = Startup . Configuration . GetValue < Boolean > ( "EventStoreSettings:Insecure" ) ;
80-
81-
80+
8281 settings . DefaultCredentials = new UserCredentials ( Startup . Configuration . GetValue < String > ( "EventStoreSettings:UserName" ) ,
8382 Startup . Configuration . GetValue < String > ( "EventStoreSettings:Password" ) ) ;
8483 Startup . EventStoreClientSettings = settings ;
You can’t perform that action at this time.
0 commit comments