---
title: allowExpiredRoot
framework: security
role: symbol
role_heading: Type Property
path: security/sectrustoptionflags/allowexpiredroot
---

# allowExpiredRoot

Allow expired root certificates.

## Declaration

```swift
static var allowExpiredRoot: SecTrustOptionFlags { get }
```
