Help getting pkcs started so i can make a key











up vote
0
down vote

favorite












I'm trying to make some keys with a different program and I'm using http://arunnsblog.com/2016/01/18/dnssec-with-bind-9-10-and-native-pkcs11/ this tutorial which is just basic, Do this !



The only thing is, When i do a restart i get an error



systemctl status bind9-pkcs11

bind9-pkcs11.service - BIND Domain Name Server with native PKCS#11
Loaded: loaded (/lib/systemd/system/bind9-pkcs11.service; disabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Sat 2018-12-08 15:05:49 CST; 30s ago
Docs: man:named(8)
Process: 14610 ExecStart=/usr/sbin/named-pkcs11 -f -u bind (code=dumped, signal=ABRT)
Main PID: 14610 (code=dumped, signal=ABRT)

Dec 08 15:05:48 ok named-pkcs11[14610]: found 2 CPUs, using 2 worker threads
Dec 08 15:05:48 ok named-pkcs11[14610]: using 1 UDP listener per interface
Dec 08 15:05:48 ok named-pkcs11[14610]: using up to 4096 sockets
Dec 08 15:05:48 ok named-pkcs11[14610]: SimpleConfigLoader.cpp(84): Could not open the config file: /etc/softhsm/softhsm2.conf
Dec 08 15:05:48 ok named-pkcs11[14610]: Configuration.cpp(158): Failed to load the SoftHSM configuration
Dec 08 15:05:48 ok named-pkcs11[14610]: ../../../lib/isc-pkcs11/md5.c:93: fatal error:
Dec 08 15:05:48 ok named-pkcs11[14610]: RUNTIME_CHECK(pk11_get_session(ctx, OP_DIGEST, isc_boolean_true, isc_boolean_false, isc_boolean
Dec 08 15:05:48 ok named-pkcs11[14610]: exiting (due to fatal error in library)
Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Main process exited, code=dumped, status=6/ABRT
Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Failed with result 'core-dump'


It doesn't matter If I'm root or the user, My original question was about this error, But I'm guessing their closely related because i have softhsm and sothsm2 installed



softhsm2-util --init-token 0 --slot 0 --label softhsm
ERROR: Could not initialize the library.









share|improve this question


























    up vote
    0
    down vote

    favorite












    I'm trying to make some keys with a different program and I'm using http://arunnsblog.com/2016/01/18/dnssec-with-bind-9-10-and-native-pkcs11/ this tutorial which is just basic, Do this !



    The only thing is, When i do a restart i get an error



    systemctl status bind9-pkcs11

    bind9-pkcs11.service - BIND Domain Name Server with native PKCS#11
    Loaded: loaded (/lib/systemd/system/bind9-pkcs11.service; disabled; vendor preset: enabled)
    Active: failed (Result: core-dump) since Sat 2018-12-08 15:05:49 CST; 30s ago
    Docs: man:named(8)
    Process: 14610 ExecStart=/usr/sbin/named-pkcs11 -f -u bind (code=dumped, signal=ABRT)
    Main PID: 14610 (code=dumped, signal=ABRT)

    Dec 08 15:05:48 ok named-pkcs11[14610]: found 2 CPUs, using 2 worker threads
    Dec 08 15:05:48 ok named-pkcs11[14610]: using 1 UDP listener per interface
    Dec 08 15:05:48 ok named-pkcs11[14610]: using up to 4096 sockets
    Dec 08 15:05:48 ok named-pkcs11[14610]: SimpleConfigLoader.cpp(84): Could not open the config file: /etc/softhsm/softhsm2.conf
    Dec 08 15:05:48 ok named-pkcs11[14610]: Configuration.cpp(158): Failed to load the SoftHSM configuration
    Dec 08 15:05:48 ok named-pkcs11[14610]: ../../../lib/isc-pkcs11/md5.c:93: fatal error:
    Dec 08 15:05:48 ok named-pkcs11[14610]: RUNTIME_CHECK(pk11_get_session(ctx, OP_DIGEST, isc_boolean_true, isc_boolean_false, isc_boolean
    Dec 08 15:05:48 ok named-pkcs11[14610]: exiting (due to fatal error in library)
    Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Main process exited, code=dumped, status=6/ABRT
    Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Failed with result 'core-dump'


    It doesn't matter If I'm root or the user, My original question was about this error, But I'm guessing their closely related because i have softhsm and sothsm2 installed



    softhsm2-util --init-token 0 --slot 0 --label softhsm
    ERROR: Could not initialize the library.









    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to make some keys with a different program and I'm using http://arunnsblog.com/2016/01/18/dnssec-with-bind-9-10-and-native-pkcs11/ this tutorial which is just basic, Do this !



      The only thing is, When i do a restart i get an error



      systemctl status bind9-pkcs11

      bind9-pkcs11.service - BIND Domain Name Server with native PKCS#11
      Loaded: loaded (/lib/systemd/system/bind9-pkcs11.service; disabled; vendor preset: enabled)
      Active: failed (Result: core-dump) since Sat 2018-12-08 15:05:49 CST; 30s ago
      Docs: man:named(8)
      Process: 14610 ExecStart=/usr/sbin/named-pkcs11 -f -u bind (code=dumped, signal=ABRT)
      Main PID: 14610 (code=dumped, signal=ABRT)

      Dec 08 15:05:48 ok named-pkcs11[14610]: found 2 CPUs, using 2 worker threads
      Dec 08 15:05:48 ok named-pkcs11[14610]: using 1 UDP listener per interface
      Dec 08 15:05:48 ok named-pkcs11[14610]: using up to 4096 sockets
      Dec 08 15:05:48 ok named-pkcs11[14610]: SimpleConfigLoader.cpp(84): Could not open the config file: /etc/softhsm/softhsm2.conf
      Dec 08 15:05:48 ok named-pkcs11[14610]: Configuration.cpp(158): Failed to load the SoftHSM configuration
      Dec 08 15:05:48 ok named-pkcs11[14610]: ../../../lib/isc-pkcs11/md5.c:93: fatal error:
      Dec 08 15:05:48 ok named-pkcs11[14610]: RUNTIME_CHECK(pk11_get_session(ctx, OP_DIGEST, isc_boolean_true, isc_boolean_false, isc_boolean
      Dec 08 15:05:48 ok named-pkcs11[14610]: exiting (due to fatal error in library)
      Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Main process exited, code=dumped, status=6/ABRT
      Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Failed with result 'core-dump'


      It doesn't matter If I'm root or the user, My original question was about this error, But I'm guessing their closely related because i have softhsm and sothsm2 installed



      softhsm2-util --init-token 0 --slot 0 --label softhsm
      ERROR: Could not initialize the library.









      share|improve this question













      I'm trying to make some keys with a different program and I'm using http://arunnsblog.com/2016/01/18/dnssec-with-bind-9-10-and-native-pkcs11/ this tutorial which is just basic, Do this !



      The only thing is, When i do a restart i get an error



      systemctl status bind9-pkcs11

      bind9-pkcs11.service - BIND Domain Name Server with native PKCS#11
      Loaded: loaded (/lib/systemd/system/bind9-pkcs11.service; disabled; vendor preset: enabled)
      Active: failed (Result: core-dump) since Sat 2018-12-08 15:05:49 CST; 30s ago
      Docs: man:named(8)
      Process: 14610 ExecStart=/usr/sbin/named-pkcs11 -f -u bind (code=dumped, signal=ABRT)
      Main PID: 14610 (code=dumped, signal=ABRT)

      Dec 08 15:05:48 ok named-pkcs11[14610]: found 2 CPUs, using 2 worker threads
      Dec 08 15:05:48 ok named-pkcs11[14610]: using 1 UDP listener per interface
      Dec 08 15:05:48 ok named-pkcs11[14610]: using up to 4096 sockets
      Dec 08 15:05:48 ok named-pkcs11[14610]: SimpleConfigLoader.cpp(84): Could not open the config file: /etc/softhsm/softhsm2.conf
      Dec 08 15:05:48 ok named-pkcs11[14610]: Configuration.cpp(158): Failed to load the SoftHSM configuration
      Dec 08 15:05:48 ok named-pkcs11[14610]: ../../../lib/isc-pkcs11/md5.c:93: fatal error:
      Dec 08 15:05:48 ok named-pkcs11[14610]: RUNTIME_CHECK(pk11_get_session(ctx, OP_DIGEST, isc_boolean_true, isc_boolean_false, isc_boolean
      Dec 08 15:05:48 ok named-pkcs11[14610]: exiting (due to fatal error in library)
      Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Main process exited, code=dumped, status=6/ABRT
      Dec 08 15:15:29 ok systemd[1]: bind9-pkcs11.service: Failed with result 'core-dump'


      It doesn't matter If I'm root or the user, My original question was about this error, But I'm guessing their closely related because i have softhsm and sothsm2 installed



      softhsm2-util --init-token 0 --slot 0 --label softhsm
      ERROR: Could not initialize the library.






      autokey






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 8 at 21:14









      hello motto

      103




      103



























          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',
          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%2faskubuntu.com%2fquestions%2f1099441%2fhelp-getting-pkcs-started-so-i-can-make-a-key%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f1099441%2fhelp-getting-pkcs-started-so-i-can-make-a-key%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

          How did Captain America manage to do this?

          迪纳利

          南乌拉尔铁路局