post quantum capable container that can interop with nginx, curl and openquantumsafe test server
113
In this container image,
Useful podman commands:
Copy of my Containerfile:
FROM fedora:40
##Install the required packages
RUN sudo dnf install vim openssl nginx curl oqsprovider crypto-policies-scripts tcpdump sed -y
##Update the TEST-PQ subpolicy
RUN update-crypto-policies --set DEFAULT:TEST-PQ
COPY script.sh .
COPY README.txt .
CMD ["/bin/bash"]
Copy of my script.sh:
#OpenSSL key and certificates generation
openssl ecparam -out p256.pem -name P-256
openssl req -x509 -newkey ec:p256.pem -keyout root.key -out root.crt -subj /CN=localhost -batch -nodes -days 36500 -sha256
#nginx configuration
mkdir /etc/pki/nginx
mkdir /etc/pki/nginx/private
cp root.crt /etc/pki/nginx/server.crt
cp root.key /etc/pki/nginx/private/server.key
getent passwd nginx
chown -R nginx: /etc/pki/nginx
Content type
Image
Digest
sha256:6bd38ad70…
Size
219.3 MB
Last updated
over 2 years ago
docker pull sahanaprasad07/post-quantum-container:latest-pq-f40-cp