Update pfx and genssl functions