fix #14011 - self_signed_cert also need the correct ssl version set
Merge pull request #14013 from alex-leonhardt/fix_tls_create_self_signed_cert

fix #14011 - self_signed_cert also need the correct ssl version set