diff --git a/vars/functions.groovy b/vars/functions.groovy index abe8196..a07c7c3 100644 --- a/vars/functions.groovy +++ b/vars/functions.groovy @@ -183,7 +183,7 @@ def pushArtifact (Map config) { } } -def getLocalRootCA () { +def getRetiredRootCA () { def localRootCA = """-----BEGIN CERTIFICATE----- MIICLTCCAbOgAwIBAgIDAYagMAoGCCqGSM49BAMEME0xCzAJBgNVBAYTAlVTMScw JQYDVQQKDB5UZXN0IENoYW1iZXIgMTMgVHJ1c3QgU2VydmljZXMxFTATBgNVBAMM @@ -200,4 +200,24 @@ UOemMEg3PjcKNsN65W2WVon5HIZx2XVfGRPjf5ZTVWzZ -----END CERTIFICATE-----""" return localRootCA -} \ No newline at end of file +} + +def getCurrentRootCA () { + def localRootCA = """-----BEGIN CERTIFICATE----- +MIICSzCCAdKgAwIBAgIUPQrf3vTi9TsRHLZeztXXasYaOdMwCgYIKoZIzj0EAwQw +VDELMAkGA1UEBhMCVVMxLjAsBgNVBAoMJVRlc3QtQ2hhbWJlci0xMyBDZXJ0aWZp +Y2F0ZSBBdXRob3JpdHkxFTATBgNVBAMMDFRDMTMgUm9vdCBYMTAgFw0yMjA4MjAw +MTU1NTRaGA8yMDUyMTAwMTAxNTU1NFowVDELMAkGA1UEBhMCVVMxLjAsBgNVBAoM +JVRlc3QtQ2hhbWJlci0xMyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxFTATBgNVBAMM +DFRDMTMgUm9vdCBYMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABAZ+f392tNYVDkFF +l555oVyaJvN/bKoZxYDNjsxEhEvfPSX7WI4tA48XBawnKd5293mTMwBbH3RkcxiP +XSR9Jzx9um/8Ou/CkPmr18Y4wNU04cU0SJr6rOZ6eOjSsuloMaNjMGEwHQYDVR0O +BBYEFFE57GeiR0kFv8m3+SQ6ry0/P017MB8GA1UdIwQYMBaAFFE57GeiR0kFv8m3 ++SQ6ry0/P017MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMAoGCCqG +SM49BAMEA2cAMGQCMHRmsbMzfUvyvUo0XjQHd5P5r8RvR1Y4jLj08uGnb2GGKSro +0hsnJ76vNkwJHPHmHwIwO/qs+wRLxJPtuQXIAsHg1/T47pyiYv40IH1x9nNT9wM9 +P5kcpxvnBxVKuM2NU5EO +-----END CERTIFICATE-----""" + +return localRootCA +}