add cert to gnutls known_host file
This commit is contained in:
@@ -30,9 +30,10 @@ RUN apk add vlc
|
|||||||
RUN sed -i 's/geteuid/getppid/' /usr/bin/vlc
|
RUN sed -i 's/geteuid/getppid/' /usr/bin/vlc
|
||||||
|
|
||||||
# Add SSL certs for lazystream
|
# Add SSL certs for lazystream
|
||||||
RUN openssl s_client -showcerts -connect freegamez.ga:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > /etc/ssl/certs/mf.svc.nhl.com.pem
|
RUN apk add --no-cache gnutls-utils
|
||||||
RUN openssl s_client -showcerts -connect freegamez.ga:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > /etc/ssl/certs/playback.svcs.mlb.com.pem
|
RUN printf 'y\n' | gnutls-cli --tofu playback.svcs.mlb.com:443
|
||||||
RUN openssl s_client -showcerts -connect freegamez.ga:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > /etc/ssl/certs/mlb-ws-mf.media.mlb.com.pem
|
RUN printf 'y\n' | gnutls-cli --tofu mf.svc.nhl.com:443
|
||||||
|
RUN printf 'y\n' | gnutls-cli --tofu mlb-ws-mf.media.mlb.com:443
|
||||||
|
|
||||||
# Add xTeve and guide2go
|
# Add xTeve and guide2go
|
||||||
RUN wget https://github.com/xteve-project/xTeVe-Downloads/raw/master/xteve_linux_amd64.zip -O temp.zip; unzip temp.zip -d /usr/bin/; rm temp.zip
|
RUN wget https://github.com/xteve-project/xTeVe-Downloads/raw/master/xteve_linux_amd64.zip -O temp.zip; unzip temp.zip -d /usr/bin/; rm temp.zip
|
||||||
@@ -56,4 +57,4 @@ RUN chmod +x /usr/bin/guide2go
|
|||||||
EXPOSE 34400
|
EXPOSE 34400
|
||||||
|
|
||||||
# Entrypoint
|
# Entrypoint
|
||||||
ENTRYPOINT ["./entrypoint.sh"]
|
ENTRYPOINT ["./entrypoint.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user