Hi Alex,
Thanks for getting in touch. Sorry to hear you’re still unable to archive invalid certificates.
The indexing search issue and the inability to archive certificates are most likely not related. Can you send me the error or behavior you see once you click “OK”?
Looking forward to getting to the bottom of this issue.
You may be indirectly affected by this issue, https://github.com/OctopusDeploy/Issues/issues/5955, resolved in version v2019.10.5. Although this issue is likely unrelated to you’re inability to archive certs, the workaround (see below) may get you passed the “Invalid Certificate” error and possibly allow you to delete the cert.
“Alternatively, you can force Bouncy Castle to ignore the validation by adding an Org.BouncyCastle.Asn1.AllowUnsafeInteger environment variable, which must be made available to the process running the Octopus Deploy Server service.”