apple / swift-nio-ssl

TLS Support for SwiftNIO, based on BoringSSL.
https://swiftpackageindex.com/apple/swift-nio-ssl/main/documentation/niossl
Apache License 2.0
388 stars 139 forks source link

Update the expired leaf certificate #383

Closed dnadoba closed 2 years ago

dnadoba commented 2 years ago

Motivation

The test suite in the package was failing because the leaf cert apple.com expired on Jul-22.

Modification

Fetched the new leaf cert by executing openssl s_client -connect apple.com:443 -showcerts and copying the resulting cert chain into SecurityFrameworkVerificationTests.swift.

Result

Tests are now passing, as verified by running the test suite locally.