Mozilla OpenBadges has discontinued support for access to its API via HTTP. All requests now need to go via HTTPS. This is inline with Mozilla's policy: https://blog.mozilla.org/security/2015/04/30/deprecating-non-secure-http/
The patch in my first comment below swaps calls from HTTP to HTTPS. It also applies the patch from https://www.drupal.org/node/2576149#comment-10384055 which replaces the module's PHP file_get_contents() call with Drupal's drupal_http_request() function. Use this patch if you have not already applied the patch from this issue: https://www.drupal.org/node/2576149
The patch in my second comment below only makes the HTTP to HTTPS change. Use this patch if you have already applied the patch from this issue: https://www.drupal.org/node/2576149
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | https-2673292-2.patch | 1.39 KB | psycle interactive |
| #2 | https_and_drupal_http_request-2673292-1.patch | 1.7 KB | psycle interactive |
Comments
Comment #2
psycle interactive commentedFixes HTTP -> HTTPS.
Includes this patch: https://www.drupal.org/node/2576149#comment-10384055
Comment #3
psycle interactive commentedFixes HTTP -> HTTPS.
You should apply the patch from this issue separately: https://www.drupal.org/node/2576149