No usage specified for certificate ssl Ubuntu 18.04.02Problems importing own CA CertificateHow can I add an SSL client certificate/key globally in Ubuntu?Can't add intermediate cert to ca-certificates.crt via /usr/local/share/ca-certificatesSwitch from openjdk-8-jre to openjdk-11-jre - trust anchor not foundCA root install issue on Ubuntu 16.04 LTS ServerMake trusted self-signed certificate not register as “self-signed” (i.e. trusted) on private network

Undesired blank space between some words

Is harmlessly appearing to be a school bus driver a crime?

How to arrange objects in outward facing circle?

The algorithm of the new quantum factoring record 1,099,551,473,989

How many Lego bricks exist total?

What to do with excess co-ax cable

Is it appropriate to ask for the text of a eulogy?

Is there a difference between 回转 and 掉头?

Pregant spouse slipped abortion pills unknowingly. What would the legal ramifications be?

Periodic functions when determining No Arbitrage price

Can you wield a a typical shield and Aegis of the Raven Queen at the same time?

Is paying for portrait photos good for the people in the community you're photographing?

Can a polling station shut early if everyone has voted?

Is it principled to tip less if a pricey restaurant doesn't accept Visa or Mastercard?

Why aren't we seeing carbon taxes in practice?

Does the geothermal activity influence the climate in Iceland?

Upgrade or Fresh Install to Ubuntu 16.04 if I currently have Ubuntu 14.04

Is Kirk’s comment about “LDS” intended to be a religious joke?

What kind of electrical connector is this and how do I remove it?

Is the net charge on a capacitor zero? If yes, then why?

being overqualified as a barrier for getting a job

Is it safe to wear earplugs in flight?

How can I get 2 characters to bond while standing alternate watches?

What is the narrative difference between a Charisma and Wisdom saving throw?



No usage specified for certificate ssl Ubuntu 18.04.02


Problems importing own CA CertificateHow can I add an SSL client certificate/key globally in Ubuntu?Can't add intermediate cert to ca-certificates.crt via /usr/local/share/ca-certificatesSwitch from openjdk-8-jre to openjdk-11-jre - trust anchor not foundCA root install issue on Ubuntu 16.04 LTS ServerMake trusted self-signed certificate not register as “self-signed” (i.e. trusted) on private network






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















In order to have testing CA certificates for Fabric CA: Fabric CA User’s Guide I followed these indications: Securing PostgreSQL using hostssl cert clientcert=1



In fabric-ca-server-config.yaml I put:



ca:
# Name of this CA
name: fabric_ca
# Key file (is only used to import a private key into BCCSP)
keyfile: /etc/ssl/private/fabric_ca.key
# Certificate file (default: ca-cert.pem)
certfile: /usr/local/share/ca-certificates/fabric_ca.crt
# Chain file
chainfile:


db:
type: postgres
datasource: host=localhost port=5433 user=postgres password=pwd
dbname=fabmnet_ca sslmode=require
tls:
enabled: false
certfiles:
client:
certfile: /home/marco/.postgresql/postgresql.crt
keyfile: /home/marco/.postgresql/postgresql.key


When initiating the fabric-ca-server:



(base) marco@pc:~/fabric/fabric-ca$ fabric-ca-server init -b admin:adminpw
2019/10/01 15:11:48 [INFO] Configuration file location: /home/marco/fabric
/fabric-ca/fabric-ca-server-config.yaml
2019/10/01 15:11:48 [INFO] Server Version: 1.4.4
2019/10/01 15:11:48 [INFO] Server Levels: &Identity:2 Affiliation:1
Certificate:1 Credential:1 RAInfo:1 Nonce:1
2019/10/01 15:11:48 [INFO] The CA key and certificate files already exist
2019/10/01 15:11:48 [INFO] Key file location: /etc/ssl/private
/fabric_ca.key
2019/10/01 15:11:48 [INFO] Certificate file location: /usr/local/share/ca-
certificates/fabric_ca.crt
2019/10/01 15:11:48 [FATAL] Initialization failure: Validation of
certificate and key failed: Invalid certificate in file '/usr/local
/share/ca-certificates/fabric_ca.crt': No usage specified for
certificate


Any idea of how to solve this problem?
Marco










share|improve this question































    0


















    In order to have testing CA certificates for Fabric CA: Fabric CA User’s Guide I followed these indications: Securing PostgreSQL using hostssl cert clientcert=1



    In fabric-ca-server-config.yaml I put:



    ca:
    # Name of this CA
    name: fabric_ca
    # Key file (is only used to import a private key into BCCSP)
    keyfile: /etc/ssl/private/fabric_ca.key
    # Certificate file (default: ca-cert.pem)
    certfile: /usr/local/share/ca-certificates/fabric_ca.crt
    # Chain file
    chainfile:


    db:
    type: postgres
    datasource: host=localhost port=5433 user=postgres password=pwd
    dbname=fabmnet_ca sslmode=require
    tls:
    enabled: false
    certfiles:
    client:
    certfile: /home/marco/.postgresql/postgresql.crt
    keyfile: /home/marco/.postgresql/postgresql.key


    When initiating the fabric-ca-server:



    (base) marco@pc:~/fabric/fabric-ca$ fabric-ca-server init -b admin:adminpw
    2019/10/01 15:11:48 [INFO] Configuration file location: /home/marco/fabric
    /fabric-ca/fabric-ca-server-config.yaml
    2019/10/01 15:11:48 [INFO] Server Version: 1.4.4
    2019/10/01 15:11:48 [INFO] Server Levels: &Identity:2 Affiliation:1
    Certificate:1 Credential:1 RAInfo:1 Nonce:1
    2019/10/01 15:11:48 [INFO] The CA key and certificate files already exist
    2019/10/01 15:11:48 [INFO] Key file location: /etc/ssl/private
    /fabric_ca.key
    2019/10/01 15:11:48 [INFO] Certificate file location: /usr/local/share/ca-
    certificates/fabric_ca.crt
    2019/10/01 15:11:48 [FATAL] Initialization failure: Validation of
    certificate and key failed: Invalid certificate in file '/usr/local
    /share/ca-certificates/fabric_ca.crt': No usage specified for
    certificate


    Any idea of how to solve this problem?
    Marco










    share|improve this question



























      0













      0









      0








      In order to have testing CA certificates for Fabric CA: Fabric CA User’s Guide I followed these indications: Securing PostgreSQL using hostssl cert clientcert=1



      In fabric-ca-server-config.yaml I put:



      ca:
      # Name of this CA
      name: fabric_ca
      # Key file (is only used to import a private key into BCCSP)
      keyfile: /etc/ssl/private/fabric_ca.key
      # Certificate file (default: ca-cert.pem)
      certfile: /usr/local/share/ca-certificates/fabric_ca.crt
      # Chain file
      chainfile:


      db:
      type: postgres
      datasource: host=localhost port=5433 user=postgres password=pwd
      dbname=fabmnet_ca sslmode=require
      tls:
      enabled: false
      certfiles:
      client:
      certfile: /home/marco/.postgresql/postgresql.crt
      keyfile: /home/marco/.postgresql/postgresql.key


      When initiating the fabric-ca-server:



      (base) marco@pc:~/fabric/fabric-ca$ fabric-ca-server init -b admin:adminpw
      2019/10/01 15:11:48 [INFO] Configuration file location: /home/marco/fabric
      /fabric-ca/fabric-ca-server-config.yaml
      2019/10/01 15:11:48 [INFO] Server Version: 1.4.4
      2019/10/01 15:11:48 [INFO] Server Levels: &Identity:2 Affiliation:1
      Certificate:1 Credential:1 RAInfo:1 Nonce:1
      2019/10/01 15:11:48 [INFO] The CA key and certificate files already exist
      2019/10/01 15:11:48 [INFO] Key file location: /etc/ssl/private
      /fabric_ca.key
      2019/10/01 15:11:48 [INFO] Certificate file location: /usr/local/share/ca-
      certificates/fabric_ca.crt
      2019/10/01 15:11:48 [FATAL] Initialization failure: Validation of
      certificate and key failed: Invalid certificate in file '/usr/local
      /share/ca-certificates/fabric_ca.crt': No usage specified for
      certificate


      Any idea of how to solve this problem?
      Marco










      share|improve this question














      In order to have testing CA certificates for Fabric CA: Fabric CA User’s Guide I followed these indications: Securing PostgreSQL using hostssl cert clientcert=1



      In fabric-ca-server-config.yaml I put:



      ca:
      # Name of this CA
      name: fabric_ca
      # Key file (is only used to import a private key into BCCSP)
      keyfile: /etc/ssl/private/fabric_ca.key
      # Certificate file (default: ca-cert.pem)
      certfile: /usr/local/share/ca-certificates/fabric_ca.crt
      # Chain file
      chainfile:


      db:
      type: postgres
      datasource: host=localhost port=5433 user=postgres password=pwd
      dbname=fabmnet_ca sslmode=require
      tls:
      enabled: false
      certfiles:
      client:
      certfile: /home/marco/.postgresql/postgresql.crt
      keyfile: /home/marco/.postgresql/postgresql.key


      When initiating the fabric-ca-server:



      (base) marco@pc:~/fabric/fabric-ca$ fabric-ca-server init -b admin:adminpw
      2019/10/01 15:11:48 [INFO] Configuration file location: /home/marco/fabric
      /fabric-ca/fabric-ca-server-config.yaml
      2019/10/01 15:11:48 [INFO] Server Version: 1.4.4
      2019/10/01 15:11:48 [INFO] Server Levels: &Identity:2 Affiliation:1
      Certificate:1 Credential:1 RAInfo:1 Nonce:1
      2019/10/01 15:11:48 [INFO] The CA key and certificate files already exist
      2019/10/01 15:11:48 [INFO] Key file location: /etc/ssl/private
      /fabric_ca.key
      2019/10/01 15:11:48 [INFO] Certificate file location: /usr/local/share/ca-
      certificates/fabric_ca.crt
      2019/10/01 15:11:48 [FATAL] Initialization failure: Validation of
      certificate and key failed: Invalid certificate in file '/usr/local
      /share/ca-certificates/fabric_ca.crt': No usage specified for
      certificate


      Any idea of how to solve this problem?
      Marco







      18.04 postgresql ssl certificates






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 1 at 14:52









      user2315094user2315094

      771 gold badge1 silver badge8 bronze badges




      771 gold badge1 silver badge8 bronze badges























          0






          active

          oldest

          votes













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f1177931%2fno-usage-specified-for-certificate-ssl-ubuntu-18-04-02%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 Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f1177931%2fno-usage-specified-for-certificate-ssl-ubuntu-18-04-02%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

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü