lnls-dig / sinap-timing-epics-ioc

EPICS IOC support for SINAP Timing modules developed to compose the Sirius Timing System.
1 stars 2 forks source link

FIX - SSL certificate issue using public high-level-events.py files #21

Closed mmdonatti closed 1 year ago

mmdonatti commented 1 year ago

issue found running event_alias.py to get a public high-level-events.py instance:

root@s-gie01-l:/opt/sinap-timing-epics-ioc/iocBoot/ioctiming# python3 event_alias.py https://raw.githubusercontent.com/lnls-sirius/control-system-constants/master/timesys/high-level-events.py

Reading: https://raw.githubusercontent.com/lnls-sirius/control-system-constants/master/timesys/high-level-events.py

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)>
Error reading url "https://raw.githubusercontent.com/lnls-sirius/control-system-constants/master/timesys/high-level-events.py"!

The same script works fine with an internal file placed at constants server. Install ca-certificates to solve this issue.