[PATCH 5.4 70/90] cfg80211: make certificate generation more robust