-
Notifications
You must be signed in to change notification settings - Fork 79
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
[Question] semantic release GitLab error when self signed certificates are used. #725
Comments
Have a look here #568. Might be the same reason |
@JonasSchubert Thanks for the reference. |
#489 (comment) this flag might help you |
You might have to change NODE_OPTION to NODE_OPTIONS in your variables |
Thank you for spotting, but just tested only NODE_OPTIONS in 13.0.1 and 10.1.4 and both are giving UNABLE_TO_GET_ISSUER_CERT unless NODE_TLS_REJECT_UNAUTHORIZED: 0 is used for version 10.1.4 |
Did you try this approach: #489 (comment)
|
Yes, this is exactly what I am doing: Docker image:
Than env is added to the gitlab variables like: Versions checked:
Certs are valid because other tools are ok to use them. So far only NODE_TLS_REJECT_UNAUTHORIZED: 0 and version 10.1.4 works. |
You need to force Node to use the system certificate store, see #489 (comment) |
@fgreinacher Node options are set. |
@ievgennaida Can you share a minimal project that reproduces this issue? That would help a lot. |
Hi @ievgennaida, I see you reached out to sindresorhus/got. Did you manage to find a solution? |
Hello @JonasSchubert, unfortunately no, only old version works and issue was postponed. |
I am not able to use self-signed certificates using this plugin.
Version: "@semantic-release/gitlab": "13.1.0",
Error:
UNABLE_TO_GET_ISSUER_CERT
I have tried to set next variables:
Certs are installed in the container
Error:
I would appreciate any suggestion how to use self-signed certificates.
The text was updated successfully, but these errors were encountered: