Remove CKAN hackfix for self-signed certificate verification
This commit is contained in:
parent
c054be6dac
commit
a000f27092
@ -33,13 +33,6 @@ RUN \
|
||||
&& find /srv/ckan-datapusher/src -name '.git*' -exec rm -rf {} + \
|
||||
&& rm -rf /root/.cache
|
||||
|
||||
COPY docker/ /
|
||||
|
||||
RUN \
|
||||
# Hackfix the self-signed certificate verification
|
||||
cd /usr/lib/python2.7/site-packages \
|
||||
&& patch -p0 </srv/ckan-datapusher/ssl_verify.patch
|
||||
|
||||
VOLUME ["/etc/ckan-datapusher", "/srv/ckan-datapusher/data"]
|
||||
EXPOSE 8080
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- orig/web.py
|
||||
+++ ckanserviceprovider/web.py
|
||||
@@ -733,6 +733,7 @@
|
||||
try:
|
||||
result = requests.post(
|
||||
result_url,
|
||||
+ verify=False,
|
||||
data=json.dumps(job_dict, cls=DatetimeJsonEncoder),
|
||||
headers=headers)
|
||||
|
@ -14,7 +14,6 @@ SQLALCHEMY_DATABASE_URI = 'sqlite:////srv/ckan-datapusher/data/jobs.db'
|
||||
|
||||
HOST = '0.0.0.0'
|
||||
PORT = 8080
|
||||
SSL_VERIFY = False
|
||||
|
||||
FROM_EMAIL = 'ckan@spotter.ngo'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user