Compare commits

...

2 Commits

2 changed files with 4 additions and 5 deletions

View File

@ -43,8 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Make sure these match build.yml and also keep in mind that Java version change in PR is not honored by CI
# (i.e. GitHub actions build will always use trunk branch version)
# Make sure these match build.yml and also keep in mind that GitHub Actions build will always use this file from the trunk branch.
java: [ 25, 17 ]
run-flaky: [ true, false ]
run-new: [ true, false ]

View File

@ -110,7 +110,7 @@ public class TestSslUtils {
* @param dn the X.509 Distinguished Name, eg "CN=Test, L=London, C=GB"
* @param pair the KeyPair
* @param days how many days from now the Certificate is valid for, or - for negative values - how many days before now
* @param algorithm the signing algorithm, eg "SHA1withRSA"
* @param algorithm the signing algorithm, eg "SHA256withRSA"
* @return the self-signed certificate
* @throws CertificateException thrown if a security error or an IO error occurred.
*/
@ -131,7 +131,7 @@ public class TestSslUtils {
* CA.
* @param parentKeyPair The key pair of the issuer. Leave null if you want to generate a root
* CA.
* @param algorithm the signing algorithm, eg "SHA1withRSA"
* @param algorithm the signing algorithm, eg "SHA256withRSA"
* @return the signed certificate
* @throws CertificateException
*/
@ -399,7 +399,7 @@ public class TestSslUtils {
private byte[] subjectAltName;
public CertificateBuilder() {
this(30, "SHA1withRSA");
this(30, "SHA256withRSA");
}
public CertificateBuilder(int days, String algorithm) {