Docker file:
FROM debian:latest
RUN apt update && apt install wget -y
RUN wget https://www.princexml.com/download/prince_12.2-1_debian9.1_amd64.deb
Result:
Step 3/3 : RUN wget https://www.princexml.com/download/prince_12.2-1_debian9.1_amd64.deb
---> Running in 07df4392cb5a
--2020-06-01 17:44:44-- https://www.princexml.com/download/prince_12.2-1_debian9.1_amd64.deb
Resolving www.princexml.com (www.princexml.com)... 50.116.12.169
Connecting to www.princexml.com (www.princexml.com)|50.116.12.169|:443... connected.
ERROR: The certificate of 'www.princexml.com' is not trusted.
ERROR: The certificate of 'www.princexml.com' has expired.
It work in ubuntu image.
FROM debian:latest
RUN apt update && apt install wget -y
RUN wget https://www.princexml.com/download/prince_12.2-1_debian9.1_amd64.deb
Result:
Step 3/3 : RUN wget https://www.princexml.com/download/prince_12.2-1_debian9.1_amd64.deb
---> Running in 07df4392cb5a
--2020-06-01 17:44:44-- https://www.princexml.com/download/prince_12.2-1_debian9.1_amd64.deb
Resolving www.princexml.com (www.princexml.com)... 50.116.12.169
Connecting to www.princexml.com (www.princexml.com)|50.116.12.169|:443... connected.
ERROR: The certificate of 'www.princexml.com' is not trusted.
ERROR: The certificate of 'www.princexml.com' has expired.
It work in ubuntu image.