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

feat: Add cacert:export command to get self-signed Che CA certificate #669

Merged
merged 4 commits into from
Apr 27, 2020

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Apr 24, 2020

Signed-off-by: Mykola Morhun mmorhun@redhat.com

What does this PR do?

Adds a new command cacert:export which retrieves self-signed Che CA certificate and saves it to specified file.
Note, it works only for self-signed certificates.

Tested on minikube, crc and openshift.

What issues does this PR fix or reference?

eclipse-che/che#16278

@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

@mmorhun mmorhun self-assigned this Apr 24, 2020
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

@tolusha tolusha changed the title feat: Add server:certificate command to get self-signed Che CA certificate feat: Add cacert:export command to get self-signed Che CA certificate Apr 27, 2020
src/api/che.ts Outdated Show resolved Hide resolved
src/commands/cacert/export.ts Outdated Show resolved Hide resolved
src/commands/cacert/export.ts Outdated Show resolved Hide resolved
src/commands/cacert/export.ts Outdated Show resolved Hide resolved
@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@che-osio-probot-app
Copy link

Open Developer Workspace:
Contribute

@mmorhun mmorhun merged commit 2e85527 into master Apr 27, 2020
@mmorhun mmorhun deleted the che-16278 branch April 27, 2020 13:12
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.

None yet

3 participants