File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
tests/NRedisStack.Tests/Examples Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -317,12 +317,12 @@ public void TestRedisCloudConnection()
317317 var rsa = RSA . Create ( ) ;
318318
319319 var redisUserPrivateKeyText = File . ReadAllText ( redisUserPrivateKeyPath ) ;
320- var pemFileData = File . ReadAllLines ( redisUserPrivateKeyPath ) . Where ( x => ! x . StartsWith ( "-" ) ) ;
321- var binaryEncoding = Convert . FromBase64String ( string . Join ( null , pemFileData ) ) ;
320+ // var pemFileData = File.ReadAllLines(redisUserPrivateKeyPath).Where(x => !x.StartsWith("-"));
321+ // var binaryEncoding = Convert.FromBase64String(string.Join(null, pemFileData));
322322
323- rsa . ImportParameters ( ImportPrivateKey ( File . ReadAllText ( redisUserPrivateKeyPath ) ) ) ;
324- redisUserCertificate . CopyWithPrivateKey ( rsa ) ;
325- rsa . ImportParameters ( ImportPrivateKey ( File . ReadAllText ( redisUserPrivateKeyText ) ) ) ;
323+ rsa . ImportParameters ( ImportPrivateKey ( redisUserPrivateKeyText ) ) ;
324+ // redisUserCertificate.CopyWithPrivateKey(rsa);
325+ // rsa.ImportParameters(ImportPrivateKey(File.ReadAllText(redisUserPrivateKeyText)));
326326 var clientCert = redisUserCertificate . CopyWithPrivateKey ( rsa ) ;
327327
328328 // Connect to Redis Cloud
You can’t perform that action at this time.
0 commit comments