<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPage/serverTrust",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "s:6WebKit0A4PageC11serverTrustSo03SecE3RefaSgvp"
  },
  "title" : "serverTrust"
}
-->

# serverTrust

The trust management object you use to evaluate trust for the current webpage.

```
@MainActor final var serverTrust: SecTrust? { get }
```

## Discussion

Use the object in this property to validate the webpage’s certificate and associated credentials.
See <doc://com.apple.documentation/documentation/Security/evaluating-a-trust-and-parsing-the-result>
for more details on how to use the trust.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)