rathole: regenerate expired self-signed certs for tests
Upstream dummy self-signed cert has expired and now tests fail:
```
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
1c:f6:27:75:97:e5:99:b0:d5:ff:7d:02:f8:11:d0:4a:23:6f:51:34
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=MyOwnCA, C=US, L=San Fransisco
Validity
Not Before: Feb 15 05:04:49 2024 GMT
Not After : Feb 5 05:04:49 2025 GMT
```
This commit is contained in:
@@ -33,6 +33,12 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [ openssl ];
|
||||
preCheck = ''
|
||||
patchShebangs examples/tls/create_self_signed_cert.sh
|
||||
(cd examples/tls && chmod +x create_self_signed_cert.sh && ./create_self_signed_cert.sh)
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) rathole;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user