[cert] fix issues where to_pem wasn't always getting called when creating a cert (#17540)
[cert] fix issues where to_pem wasn't always getting called when creating a cert (#17540)


nafu/fastlane,kazuhidet/fastlane,bolom/fastlane,KrauseFx/fastlane,cpk1/fastlane,taquitos/fastlane,icecrystal23/fastlane,taquitos/fastlane,nafu/fastlane,taquitos/fastlane,bassrock/fastlane,bolom/fastlane,nafu/fastlane,bolom/fastlane,Econa77/fastlane,kohtenko/fastlane,taquitos/fastlane,taquitos/fastlane,kazuhidet/fastlane,cpk1/fastlane,cpk1/fastlane,fastlane/fastlane,kohtenko/fastlane,bassrock/fastlane,taquitos/fastlane,icecrystal23/fastlane,lacostej/fastlane,bassrock/fastlane,icecrystal23/fastlane,KrauseFx/fastlane,nafu/fastlane,fastlane/fastlane,kazuhidet/fastlane,fastlane/fastlane,fastlane/fastlane,bolom/fastlane,nafu/fastlane,nafu/fastlane,bolom/fastlane,icecrystal23/fastlane,bassrock/fastlane,kazuhidet/fastlane,KrauseFx/fastlane,bolom/fastlane,fastlane/fastlane,bassrock/fastlane,kazuhidet/fastlane,fastlane/fastlane,lacostej/fastlane,icecrystal23/fastlane,KrauseFx/fastlane,KrauseFx/fastlane,nafu/fastlane,cpk1/fastlane,lacostej/fastlane,KrauseFx/fastlane,bassrock/fastlane,KrauseFx/fastlane,Econa77/fastlane,kazuhidet/fastlane,kazuhidet/fastlane,Econa77/fastlane,bolom/fastlane,cpk1/fastlane,Econa77/fastlane,Econa77/fastlane,Econa77/fastlane,cpk1/fastlane,lacostej/fastlane,icecrystal23/fastlane,taquitos/fastlane,cpk1/fastlane,lacostej/fastlane,Econa77/fastlane,lacostej/fastlane