---
title: kCFStreamSSLIsServer
framework: cfnetwork
role: symbol
role_heading: Global Variable
path: cfnetwork/kcfstreamsslisserver
---

# kCFStreamSSLIsServer

Security property key whose value indicates whether the connection is to act as a server in the SSL process.

## Declaration

```swift
let kCFStreamSSLIsServer: CFString
```

## Discussion

Discussion By default, the value of this key is kCFBooleanFalse (the connection is not to act as a server). If the value of this key is kCFBooleanTrue, the kCFStreamSSLCertificates key must contain a valid value.

## See Also

### Streams

- [CFReadStreamCreateForHTTPRequest(_:_:)](cfnetwork/cfreadstreamcreateforhttprequest(_:_:).md)
- [CFReadStreamCreateForStreamedHTTPRequest(_:_:_:)](cfnetwork/cfreadstreamcreateforstreamedhttprequest(_:_:_:).md)
- [kCFStreamPropertyHTTPAttemptPersistentConnection](cfnetwork/kcfstreampropertyhttpattemptpersistentconnection.md)
- [kCFStreamPropertyHTTPFinalRequest](cfnetwork/kcfstreampropertyhttpfinalrequest.md)
- [kCFStreamPropertyHTTPFinalURL](cfnetwork/kcfstreampropertyhttpfinalurl.md)
- [kCFStreamPropertyHTTPProxy](cfnetwork/kcfstreampropertyhttpproxy.md)
- [kCFStreamPropertyHTTPProxyHost](cfnetwork/kcfstreampropertyhttpproxyhost.md)
- [kCFStreamPropertyHTTPProxyPort](cfnetwork/kcfstreampropertyhttpproxyport.md)
- [kCFStreamPropertyHTTPRequestBytesWrittenCount](cfnetwork/kcfstreampropertyhttprequestbyteswrittencount.md)
- [kCFStreamPropertyHTTPResponseHeader](cfnetwork/kcfstreampropertyhttpresponseheader.md)
- [kCFStreamPropertyHTTPSProxyHost](cfnetwork/kcfstreampropertyhttpsproxyhost.md)
- [kCFStreamPropertyHTTPSProxyPort](cfnetwork/kcfstreampropertyhttpsproxyport.md)
- [kCFStreamPropertyHTTPShouldAutoredirect](cfnetwork/kcfstreampropertyhttpshouldautoredirect.md)
- [CFWriteStreamCreateWithFTPURL(_:_:)](cfnetwork/cfwritestreamcreatewithftpurl(_:_:).md)
- [CFReadStreamCreateWithFTPURL(_:_:)](cfnetwork/cfreadstreamcreatewithftpurl(_:_:).md)
