Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit e3f8796

Browse files
committed
Update README.md
1 parent b26f070 commit e3f8796

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,24 @@ RedisConfig.BackOffMultiplier = 10;
295295

296296
## [ServiceStack.Redis SSL Support](http://docs.servicestack.net/ssl-redis-azure)
297297

298-
ServiceStack.Redis now supporting **SSL connections** making it suitable for accessing remote Redis server instances over a
298+
ServiceStack.Redis supports **SSL connections** making it suitable for accessing remote Redis server instances over a
299299
**secure SSL connection**.
300300

301301
![Azure Redis Cache](https://github.com/ServiceStack/Assets/raw/master/img/wikis/redis/azure-redis-instance.png)
302302

303+
#### Specify SSL Protocol
304+
305+
Support for changing the Ssl Protocols used for encrypted SSL connections can be set on the connection string using the `sslprotocols` modifier, e.g:
306+
307+
```csharp
308+
var connString = $"redis://{Host}?ssl=true&sslprotocols=Tls12&password={Password.UrlEncode()}";
309+
var redisManager = new RedisManagerPool(connString);
310+
using (var client = redisManager.GetClient())
311+
{
312+
//...
313+
}
314+
```
315+
303316
### [Connecting to Azure Redis](http://docs.servicestack.net/ssl-redis-azure)
304317

305318
As connecting to [Azure Redis Cache](http://azure.microsoft.com/en-us/services/cache/) via SSL was the primary use-case for this feature,

0 commit comments

Comments
 (0)