conwetlab / ckanext-oauth2

OAuth2 support for CKAN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataPusher fails over HTTPs

aitormagan opened this issue · comments

If the CKAN instance is working over HTTPs and the certificates are not valid, DataPuser fails. The behaviour should be studied when the CKAN instance is working over HTTPs with valid certificates.

DataPusher works properly when CKAN is over HTTPs if valid certificates are used. Otherwise, DataPusher code should be modified in order not to verify all the requests. In addition, CkanServiceProvider code should also be modified in the same way.

The code:

requests.xxx(url, ...

should be changed to:

requests.xxx(url, verify=False, ...