Lines Matching full:est
2 * Hotspot 2.0 OSU client - EST client
49 write_result(ctx, "Could not parse PKCS#7 object from EST"); in pkcs7_to_cert()
57 write_result(ctx, "Could not parse PKCS#7 object from EST"); in pkcs7_to_cert()
132 wpa_printf(MSG_INFO, "Download EST cacerts from %s", buf); in est_load_cacerts()
133 write_summary(ctx, "Download EST cacerts from %s", buf); in est_load_cacerts()
136 res = http_download_file(ctx->http, buf, "Cert/est-cacerts.txt", in est_load_cacerts()
142 wpa_printf(MSG_INFO, "Failed to download EST cacerts from %s", in est_load_cacerts()
144 write_result(ctx, "Failed to download EST cacerts from %s", in est_load_cacerts()
151 resp = os_readfile("Cert/est-cacerts.txt", &resp_len); in est_load_cacerts()
153 wpa_printf(MSG_INFO, "Could not read Cert/est-cacerts.txt"); in est_load_cacerts()
154 write_result(ctx, "Could not read EST cacerts"); in est_load_cacerts()
166 …wpa_printf(MSG_INFO, "EST workaround - Could not decode base64, assume this is DER encoded PKCS7"); in est_load_cacerts()
177 write_result(ctx, "Could not fetch EST PKCS#7 cacerts"); in est_load_cacerts()
181 res = pkcs7_to_cert(ctx, pkcs7, pkcs7_len, "Cert/est-cacerts.pem", in est_load_cacerts()
186 write_result(ctx, "Could not parse CA certs from EST PKCS#7 cacerts response"); in est_load_cacerts()
189 unlink("Cert/est-cacerts.txt"); in est_load_cacerts()
591 write_summary(ctx, "Download EST csrattrs from %s", buf); in est_build_csr()
594 res = http_download_file(ctx->http, buf, "Cert/est-csrattrs.txt", in est_build_csr()
601 wpa_printf(MSG_INFO, "Failed to download EST csrattrs - assume no extra attributes are needed"); in est_build_csr()
609 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len); in est_build_csr()
622 unlink("Cert/est-csrattrs.txt"); in est_build_csr()
639 res = generate_csr(ctx, "Cert/privkey-plain.pem", "Cert/est-req.pem", in est_build_csr()
640 "Cert/est-req.b64", old_cert, csrattrs); in est_build_csr()
659 req = os_readfile("Cert/est-req.b64", &len); in est_simple_enroll()
671 wpa_printf(MSG_DEBUG, "EST simpleenroll request: %s", req); in est_simple_enroll()
690 wpa_printf(MSG_INFO, "EST simpleenroll URL: %s", buf); in est_simple_enroll()
691 write_summary(ctx, "EST simpleenroll URL: %s", buf); in est_simple_enroll()
703 wpa_printf(MSG_INFO, "EST certificate enrollment failed"); in est_simple_enroll()
704 write_result(ctx, "EST certificate enrollment failed"); in est_simple_enroll()
707 wpa_printf(MSG_DEBUG, "EST simpleenroll response: %s", resp); in est_simple_enroll()
711 …wpa_printf(MSG_INFO, "EST workaround - Could not decode base64, assume this is DER encoded PKCS7"); in est_simple_enroll()
722 write_result(ctx, "Failed to parse EST simpleenroll base64 response"); in est_simple_enroll()
731 wpa_printf(MSG_INFO, "EST: Failed to extract certificate from PKCS7 file"); in est_simple_enroll()
732 write_result(ctx, "EST: Failed to extract certificate from EST PKCS7 file"); in est_simple_enroll()
736 wpa_printf(MSG_INFO, "EST simple%senroll completed successfully", in est_simple_enroll()
738 write_summary(ctx, "EST simple%senroll completed successfully", in est_simple_enroll()