Cert-tools error: AttributeError: 'str' object has no attribute 'isoformat'. Did you mean: 'format'?

help me please: cert-tools error

AttributeError: ‘str’ object has no attribute ‘isoformat’. Did you mean: ‘format’?

which python version are you running?

I use the version Python 3.10 :cry:

could you try and use 3.8?
This one is supported, 3.10, not sure.

I’ve already tried and it doesn’t work

I vaguely remember someone opening a PR along these lines, a few years back, I thought on cert-issuer but I wasn’t able to find it.

I suppose you can try to follow the error message and see what it does, and potentially open a PR?

Hi, i´m resolve this replace return ret.isoformat() with return ret and this works for me.