Open
Description
Describe the bug
Similar to #9880, I'm getting failures when DER-encoding TBSCertificate
entities. But this is still a problem in OTP-28.0.1, wherein #9880 is shown as fixed.
{error,function_clause,
[{public_key,get_asn1_module,
['TBSCertificate'],
To Reproduce
Given a populated #'Certificate'{}
record, try to DER-encode it:
to_der(#'Certificate'{} = Certificate) ->
public_key:der_encode('Certificate', Certificate).
See, for example, https://github.com/rlipscombe/erl509/actions/runs/15967723875/job/45031671154
Expected behavior
I'd get a DER-encoded certificate.
Affected versions
OTP-28.0.1