This Docker image offers pre-generated Diffie-Hellman (DH) parameters for use in other containers.
239
This Docker image provides pre-generated Diffie-Hellman (DH) parameters for use in other Docker images. It includes 2048-bit and 4096-bit DH parameter files, which can be copied into the build of other images for secure key exchange in cryptographic applications. This image is a convenient way to obtain these files without having to generate them during your build process.
To use the DH parameters in your image, simply copy them from this image:
FROM silvarcode/dhparam:1.0 AS sc-dhparam
# Copy DH parameters into your image
COPY --from=sc-dhparam /etc/ssl/dhparam-2048.pem /etc/ssl/dhparam-2048.pem
COPY --from=sc-dhparam /etc/ssl/dhparam-4096.pem /etc/ssl/dhparam-4096.pem
Then build your image as usual:
docker build -t your-custom-image .
This image is licensed under the MIT License.
Content type
Image
Digest
sha256:1521a0e8b…
Size
51.3 MB
Last updated
over 1 year ago
docker pull silvarcode/dhparam:1.0