npm on centos7 shows error: SELF_SIGNED_CERT_IN_CHAIN












0















I am currently trying to install searchkit for centos7. So this is what I do:




npm install searchkit --save




And this is the error message I get:




npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno
SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to
https://registry.npmjs.org/searchkit failed, reason: self si

gned certificate in certificate chain




I am using a Proxy and I set strict-ssl to false. Here are my settings. I tried a lot and I have no idea how to continue from here on. I am totally new to npm and node so I really ned some help




; npm userconfig file
; this is a simple ini-formatted file
; lines that start with semi-colons are comments.
; read npm help config for help on the various options
;;;;



proxy=192.168.1.251:abc
https-proxy=192.168.1.251:abc
strict-ssl=false

;;;;
; all options with default values
;;;;
; access=null
; allow-same-version=false
; always-auth=false
; also=null
; audit=true
; audit-level=low
; auth-type=legacy
; bin-links=true
; browser=null
; ca=null
; cafile=undefined
; cache=/home/xxx/.npm
; cache-lock-stale=60000
; cache-lock-retries=10
; cache-lock-wait=10000
; cache-max=null
; cache-min=10
; cert=null
; cidr=null
; color=true
; depth=null
; description=true
; dev=false
; dry-run=false
; editor=vi
; engine-strict=false
; force=false
; fetch-retries=2
; fetch-retry-factor=10
; fetch-retry-mintimeout=10000
; fetch-retry-maxtimeout=60000
; git=git
; git-tag-version=true
; commit-hooks=true
; global=false
; globalconfig=/usr/etc/npmrc
; global-style=false
; group=1000
; ham-it-up=false
; heading=npm
; if-present=false
; ignore-prepublish=false
; ignore-scripts=false
; init-module=/home/xxx/.npm-init.js
; init-author-name=
; init-author-email=
; init-author-url=
; init-version=1.0.0
; init-license=ISC
; json=false
; key=null
; legacy-bundling=false
; link=false
; local-address=undefined
; loglevel=notice
; logs-max=10
; long=false
; maxsockets=50
; message=%s
; metrics-registry=null
; node-options=null
; node-version=10.13.0
; offline=false
; onload-script=null
; only=null
; optional=true
; otp=null
; package-lock=true
; package-lock-only=false
; parseable=false
; prefer-offline=false
"~/.npmrc" 136L, 2626C










share|improve this question



























    0















    I am currently trying to install searchkit for centos7. So this is what I do:




    npm install searchkit --save




    And this is the error message I get:




    npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno
    SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to
    https://registry.npmjs.org/searchkit failed, reason: self si

    gned certificate in certificate chain




    I am using a Proxy and I set strict-ssl to false. Here are my settings. I tried a lot and I have no idea how to continue from here on. I am totally new to npm and node so I really ned some help




    ; npm userconfig file
    ; this is a simple ini-formatted file
    ; lines that start with semi-colons are comments.
    ; read npm help config for help on the various options
    ;;;;



    proxy=192.168.1.251:abc
    https-proxy=192.168.1.251:abc
    strict-ssl=false

    ;;;;
    ; all options with default values
    ;;;;
    ; access=null
    ; allow-same-version=false
    ; always-auth=false
    ; also=null
    ; audit=true
    ; audit-level=low
    ; auth-type=legacy
    ; bin-links=true
    ; browser=null
    ; ca=null
    ; cafile=undefined
    ; cache=/home/xxx/.npm
    ; cache-lock-stale=60000
    ; cache-lock-retries=10
    ; cache-lock-wait=10000
    ; cache-max=null
    ; cache-min=10
    ; cert=null
    ; cidr=null
    ; color=true
    ; depth=null
    ; description=true
    ; dev=false
    ; dry-run=false
    ; editor=vi
    ; engine-strict=false
    ; force=false
    ; fetch-retries=2
    ; fetch-retry-factor=10
    ; fetch-retry-mintimeout=10000
    ; fetch-retry-maxtimeout=60000
    ; git=git
    ; git-tag-version=true
    ; commit-hooks=true
    ; global=false
    ; globalconfig=/usr/etc/npmrc
    ; global-style=false
    ; group=1000
    ; ham-it-up=false
    ; heading=npm
    ; if-present=false
    ; ignore-prepublish=false
    ; ignore-scripts=false
    ; init-module=/home/xxx/.npm-init.js
    ; init-author-name=
    ; init-author-email=
    ; init-author-url=
    ; init-version=1.0.0
    ; init-license=ISC
    ; json=false
    ; key=null
    ; legacy-bundling=false
    ; link=false
    ; local-address=undefined
    ; loglevel=notice
    ; logs-max=10
    ; long=false
    ; maxsockets=50
    ; message=%s
    ; metrics-registry=null
    ; node-options=null
    ; node-version=10.13.0
    ; offline=false
    ; onload-script=null
    ; only=null
    ; optional=true
    ; otp=null
    ; package-lock=true
    ; package-lock-only=false
    ; parseable=false
    ; prefer-offline=false
    "~/.npmrc" 136L, 2626C










    share|improve this question

























      0












      0








      0








      I am currently trying to install searchkit for centos7. So this is what I do:




      npm install searchkit --save




      And this is the error message I get:




      npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno
      SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to
      https://registry.npmjs.org/searchkit failed, reason: self si

      gned certificate in certificate chain




      I am using a Proxy and I set strict-ssl to false. Here are my settings. I tried a lot and I have no idea how to continue from here on. I am totally new to npm and node so I really ned some help




      ; npm userconfig file
      ; this is a simple ini-formatted file
      ; lines that start with semi-colons are comments.
      ; read npm help config for help on the various options
      ;;;;



      proxy=192.168.1.251:abc
      https-proxy=192.168.1.251:abc
      strict-ssl=false

      ;;;;
      ; all options with default values
      ;;;;
      ; access=null
      ; allow-same-version=false
      ; always-auth=false
      ; also=null
      ; audit=true
      ; audit-level=low
      ; auth-type=legacy
      ; bin-links=true
      ; browser=null
      ; ca=null
      ; cafile=undefined
      ; cache=/home/xxx/.npm
      ; cache-lock-stale=60000
      ; cache-lock-retries=10
      ; cache-lock-wait=10000
      ; cache-max=null
      ; cache-min=10
      ; cert=null
      ; cidr=null
      ; color=true
      ; depth=null
      ; description=true
      ; dev=false
      ; dry-run=false
      ; editor=vi
      ; engine-strict=false
      ; force=false
      ; fetch-retries=2
      ; fetch-retry-factor=10
      ; fetch-retry-mintimeout=10000
      ; fetch-retry-maxtimeout=60000
      ; git=git
      ; git-tag-version=true
      ; commit-hooks=true
      ; global=false
      ; globalconfig=/usr/etc/npmrc
      ; global-style=false
      ; group=1000
      ; ham-it-up=false
      ; heading=npm
      ; if-present=false
      ; ignore-prepublish=false
      ; ignore-scripts=false
      ; init-module=/home/xxx/.npm-init.js
      ; init-author-name=
      ; init-author-email=
      ; init-author-url=
      ; init-version=1.0.0
      ; init-license=ISC
      ; json=false
      ; key=null
      ; legacy-bundling=false
      ; link=false
      ; local-address=undefined
      ; loglevel=notice
      ; logs-max=10
      ; long=false
      ; maxsockets=50
      ; message=%s
      ; metrics-registry=null
      ; node-options=null
      ; node-version=10.13.0
      ; offline=false
      ; onload-script=null
      ; only=null
      ; optional=true
      ; otp=null
      ; package-lock=true
      ; package-lock-only=false
      ; parseable=false
      ; prefer-offline=false
      "~/.npmrc" 136L, 2626C










      share|improve this question














      I am currently trying to install searchkit for centos7. So this is what I do:




      npm install searchkit --save




      And this is the error message I get:




      npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno
      SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to
      https://registry.npmjs.org/searchkit failed, reason: self si

      gned certificate in certificate chain




      I am using a Proxy and I set strict-ssl to false. Here are my settings. I tried a lot and I have no idea how to continue from here on. I am totally new to npm and node so I really ned some help




      ; npm userconfig file
      ; this is a simple ini-formatted file
      ; lines that start with semi-colons are comments.
      ; read npm help config for help on the various options
      ;;;;



      proxy=192.168.1.251:abc
      https-proxy=192.168.1.251:abc
      strict-ssl=false

      ;;;;
      ; all options with default values
      ;;;;
      ; access=null
      ; allow-same-version=false
      ; always-auth=false
      ; also=null
      ; audit=true
      ; audit-level=low
      ; auth-type=legacy
      ; bin-links=true
      ; browser=null
      ; ca=null
      ; cafile=undefined
      ; cache=/home/xxx/.npm
      ; cache-lock-stale=60000
      ; cache-lock-retries=10
      ; cache-lock-wait=10000
      ; cache-max=null
      ; cache-min=10
      ; cert=null
      ; cidr=null
      ; color=true
      ; depth=null
      ; description=true
      ; dev=false
      ; dry-run=false
      ; editor=vi
      ; engine-strict=false
      ; force=false
      ; fetch-retries=2
      ; fetch-retry-factor=10
      ; fetch-retry-mintimeout=10000
      ; fetch-retry-maxtimeout=60000
      ; git=git
      ; git-tag-version=true
      ; commit-hooks=true
      ; global=false
      ; globalconfig=/usr/etc/npmrc
      ; global-style=false
      ; group=1000
      ; ham-it-up=false
      ; heading=npm
      ; if-present=false
      ; ignore-prepublish=false
      ; ignore-scripts=false
      ; init-module=/home/xxx/.npm-init.js
      ; init-author-name=
      ; init-author-email=
      ; init-author-url=
      ; init-version=1.0.0
      ; init-license=ISC
      ; json=false
      ; key=null
      ; legacy-bundling=false
      ; link=false
      ; local-address=undefined
      ; loglevel=notice
      ; logs-max=10
      ; long=false
      ; maxsockets=50
      ; message=%s
      ; metrics-registry=null
      ; node-options=null
      ; node-version=10.13.0
      ; offline=false
      ; onload-script=null
      ; only=null
      ; optional=true
      ; otp=null
      ; package-lock=true
      ; package-lock-only=false
      ; parseable=false
      ; prefer-offline=false
      "~/.npmrc" 136L, 2626C







      node.js npm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 20 '18 at 12:25









      nu11ahnungnu11ahnung

      43




      43
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53392946%2fnpm-on-centos7-shows-error-self-signed-cert-in-chain%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53392946%2fnpm-on-centos7-shows-error-self-signed-cert-in-chain%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          'app-layout' is not a known element: how to share Component with different Modules

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          WPF add header to Image with URL pettitions [duplicate]