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

Support custom public certificates #36

Merged
merged 1 commit into from
Sep 1, 2020
Merged

Support custom public certificates #36

merged 1 commit into from
Sep 1, 2020

Conversation

vzhukovs
Copy link
Contributor

This changes proposal adds an ability to provide custom certificates.
There is a new field in api configuration, called publicCrtPath, which represents a simple directory on file system, where certificates *.crt are located. All those certificates take into account during user requests.

export interface IRestAPIConfig {
    baseUrl?: string;
    headers?: any;
    // path to self signed certificate
    ssCrtPath?: string;
    // path to public certificates
>>    publicCrtPath?: string;
    loggingEnabled?: boolean;
    machineToken?: string;
    userToken?: string;
}

Issue: eclipse-che/che#17440

Signed-off-by: Vladyslav Zhukovskyi vzhukovs@redhat.com

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
@vzhukovs vzhukovs merged commit 85fd742 into master Sep 1, 2020
@vzhukovs vzhukovs deleted the che#17440 branch September 1, 2020 08:14
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