Fix X509 remote signing on python3 #49508
What does this PR do?
It fixes the
What issues does this PR fix or reference?
Another part for fixing https://bugzilla.suse.com/show_bug.cgi?id=1106382.
Remote signing would not work and fail with an error
Remote signing works again.
No, however a repository with a reproducer can be found here.
Please review Salt's Contributing Guide for best practices.