Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created December 21, 2016 03:45
Show Gist options
  • Save grahamc/b7aab6aa54e517cfab8f2b3114c835a0 to your computer and use it in GitHub Desktop.
Save grahamc/b7aab6aa54e517cfab8f2b3114c835a0 to your computer and use it in GitHub Desktop.
o% ➜ ~ openssl ca ~
The program ‘openssl’ is currently not installed. It is provided by
several packages. You can install it by typing one of the following:
nix-env -iA nixos.libressl
nix-env -iA nixos.libressl_2_3
nix-env -iA nixos.openssl
nix-env -iA nixos.openssl-chacha
nix-env -iA nixos.openssl_1_0_1
nix-env -iA nixos.openssl_1_1_0
➜ ~ nix-shell -p openssl ~
[nix-shell:~]$ openssl ca
Using configuration from /nix/store/81n6pgrx7lq5f7cjajv82wa422ccvbv4-openssl-1.0.2j/etc/ssl/openssl.cnf
Error opening CA private key ./demoCA/private/cakey.pem
140081647246872:error:02001002:system library:fopen:No such file or directory:bss_file.c:402:fopen('./demoCA/private/cakey.pem','r')
140081647246872:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:
unable to load CA private key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment