prototype of manage_certificates_wifi :)