Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOSIP-23969] Added Dockerfile for openssl certiicate creation for regclient #38

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

bhumi46
Copy link
Member

@bhumi46 bhumi46 commented Jul 10, 2024

added docker file openssl creation for regclient

bhumi46 added 5 commits July 10, 2024 23:21
Signed-off-by: bhumi46 <[email protected]>
Signed-off-by: bhumi46 <[email protected]>
Signed-off-by: bhumi46 <[email protected]>
Signed-off-by: bhumi46 <[email protected]>
Signed-off-by: bhumi46 <[email protected]>
@bhumi46 bhumi46 changed the title [MOSIP-23969] [MOSIP-23969] Added Dockerfile for openssl certiicate creation for regclient Jul 11, 2024
@@ -0,0 +1,19 @@
[req]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get content approved by @Mahesh-Binayak

@@ -0,0 +1,75 @@
## Certificate Generation Docker Image
## Overview
This repository provides a Docker image and Kubernetes Job configuration for generating test certificates and secrets. It uses OpenSSL to create a Root CA certificate and a Client certificate, and then packages these into a ConfigMap and Secret for use in Kubernetes applications. This is intended for development and testing purposes only.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update overview

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated over view

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regclient-openssl.cnf

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generate-signing-certs.sh

apt-get install -y openssl sudo curl && \
groupadd -g ${container_user_gid} ${container_user_group} && \
useradd -u ${container_user_uid} -g ${container_user_group} -s /bin/sh -m ${container_user} && \
echo "${container_user} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get it verified by @Mahesh-Binayak

Signed-off-by: bhumi46 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants