#9006 Nightly failure in test_commands.py::TestIPACommand::test_cacert_manage
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by frenaud.

The nightly test test_commands.py::TestIPACommand::test_cacert_manage started failing Oct 7 because of a certificate expiration.

See PR #1222 with the following logs and report:

        # Install 3rd party CA's, Let's Encrypt in this case
        for cert in (isrgrootx1, letsencryptauthorityx3):
            certfile = os.path.join(self.master.config.test_dir, 'cert.pem')
            self.master.put_file_contents(certfile, cert)
>           result = self.master.run_command(
                ['ipa-cacert-manage', 'install', certfile],
            )

The error is:

ipa: ERROR: stderr: Not a valid CA certificate: has expired 2021-10-06 15:43:55 UTC (visit http://www.freeipa.org/page/Troubleshooting for troubleshooting guide)
The ipa-cacert-manage command failed.

The certificate defined in letsencryptauthorityx3 expires Oct 6 15:43:55 2021 GMT.


Metadata Update from @frenaud:
- Issue assigned to frenaud

2 years ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6043

2 years ago

master:

  • 575074d ipatests: Update the subca used in TestIPACommand::test_cacert_manage

@frenaud
Thanks for fix, was seen in downstream as well. I was about to submit a PR for this.

ipa-4-9:

  • 34d6f51 ipatests: Update the subca used in TestIPACommand::test_cacert_manage

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

ipa-4-8:

  • f01c26d ipatests: Update the subca used in TestIPACommand::test_cacert_manage
  • 81731f3 Azure: temporarily disable problematic tests, #1

Login to comment on this ticket.

Metadata