Fix web3signer test fails on macOS (#6588)

* Add lighthouse/key_legacy.p12 for macOS

* Specify `-days 825` to meet Apple's requirements for TLS server certificates

* Remove `-aes256` as it's ignored on exporting

The following warning will appear:
Warning: output encryption option -aes256 ignored with -export

* Update certificates and keys
This commit is contained in:
Akihito Nakano
2024-12-16 14:44:02 +09:00
committed by GitHub
parent 86891e6d0f
commit 8e891a8bfd
11 changed files with 210 additions and 193 deletions

View File

@@ -130,7 +130,11 @@ mod tests {
}
fn client_identity_path() -> PathBuf {
tls_dir().join("lighthouse").join("key.p12")
if cfg!(target_os = "macos") {
tls_dir().join("lighthouse").join("key_legacy.p12")
} else {
tls_dir().join("lighthouse").join("key.p12")
}
}
fn client_identity_password() -> String {