You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
My GitLab uses self-signed certificate and plugin work only with NODE_TLS_REJECT_UNAUTHORIZED: 0 and plugin version 10.0.1. When I try use old plugin 10.0.1 or new plugin 12.0.3 and variables NODE_EXTRA_CA_CERTS=<path_to_CA_cert> or NODE_OPTIONS=--use-openssl-ca I get error self-signed certificate in certificate chain. When I use NODE_TLS_REJECT_UNAUTHORIZED: 0 and plugin 12.0.3 I get the same error too.
plugin
NODE_TLS_REJECT_UNAUTHORIZED
NODE_EXTRA_CA_CERTS
NODE_OPTIONS=--use-openssl-ca
Result
10.0.1
0
No
No
Ok
10.0.1
No
Yes
No
Error
10.0.1
No
No
Yes
Error
12.0.3
0
No
No
Error
12.0.3
No
Yes
No
Error
12.0.3
No
No
Yes
Error
Plugin version: 10.0.1 and 12.0.3 Conteiner image: node:20.4.0
[9:22:17 AM] [semantic-release] › ✘ Failed step "verifyConditions" of plugin "@semantic-release/gitlab"
[9:22:17 AM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/exec"
[9:22:17 AM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/exec"
[9:22:17 AM] [semantic-release] › ✘ An error occurred while running semantic-release: RequestError: self-signed certificate in certificate chain
...
AggregateError:
RequestError: self-signed certificate in certificate chain
at ClientRequest.<anonymous> (file:///builds/<my_project>/node_modules/got/dist/source/core/index.js:792:107)
at file:///builds/<my_project>/node_modules/semantic-release/lib/plugins/pipeline.js:55:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async pluginsConfigAccumulator.<computed> [as verifyConditions] (file:///builds/<my_project>/node_modules/semantic-release/lib/plugins/index.js:87:11)
at async run (file:///builds/<my_project>/node_modules/semantic-release/index.js:106:3)
at async Module.default (file:///builds/<my_project>/node_modules/semantic-release/index.js:275:22)
at async default (file:///builds/<my_project>/node_modules/semantic-release/cli.js:55:5) {
errors: [
RequestError: self-signed certificate in certificate chain
at ClientRequest.<anonymous> (file:///builds/<my_project>/node_modules/got/dist/source/core/index.js:792:107)
at Object.onceWrapper (node:events:627:26)
at ClientRequest.emit (node:events:524:35)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:512:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at TLSSocket.onConnectSecure (node:_tls_wrap:1627:34)
at TLSSocket.emit (node:events:512:28)
at TLSSocket._finishInit (node:_tls_wrap:1038:8)
at ssl.onhandshakedone (node:_tls_wrap:824:12) {
input: undefined,
code: 'SELF_SIGNED_CERT_IN_CHAIN',
The text was updated successfully, but these errors were encountered:
Hi!
My GitLab uses self-signed certificate and plugin work only with
NODE_TLS_REJECT_UNAUTHORIZED: 0
and plugin version 10.0.1. When I try use old plugin 10.0.1 or new plugin 12.0.3 and variablesNODE_EXTRA_CA_CERTS=<path_to_CA_cert>
orNODE_OPTIONS=--use-openssl-ca
I get errorself-signed certificate in certificate chain
. When I useNODE_TLS_REJECT_UNAUTHORIZED: 0
and plugin 12.0.3 I get the same error too.Plugin version: 10.0.1 and 12.0.3
Conteiner image: node:20.4.0
My GitLab CI pipeline with
NODE_EXTRA_CA_CERTS
:or use
NODE_OPTIONS=--use-openssl-ca
Error:
The text was updated successfully, but these errors were encountered: