davewasmer / devcert

Local HTTPS development made easy
1.28k stars 75 forks source link

Error: Command failed: openssl ca -config #31

Open sarbadaj opened 5 years ago

sarbadaj commented 5 years ago

Error: Command failed: openssl ca -config "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp" -in "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate-signing-request.csr" -out "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate.crt" -keyfile "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-179494IctCHu1hUbE.tmp" -cert "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949Inm9Be39jIHK.tmp" -days 7000 -batch Using configuration from /var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp Check that the request matches the signature Signature ok The Subject's Distinguished Name is as follows commonName :ASN.1 12:'parser22.localhost' Certificate is to be certified until Mar 12 03:49:26 2038 GMT (7000 days) failed to update database TXT_DB error number 2

Details:

prams log Certificate requested for parser22.localhost. Skipping certutil install: false. Skipping hosts file: false prams log Can't find certificate file for parser22.localhost, so it must be the first request for parser22.localhost. Generating and caching ... ca -config "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp" -in "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate-signing-request.csr" -out "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate.crt" -keyfile "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-179494IctCHu1hUbE.tmp" -cert "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949Inm9Be39jIHK.tmp" -days 7000 -batch Error open ssl ca { Error: Command failed: openssl ca -config "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp" -in "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate-signing-request.csr" -out "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate.crt" -keyfile "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-179494IctCHu1hUbE.tmp" -cert "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949Inm9Be39jIHK.tmp" -days 7000 -batch Using configuration from /var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp Check that the request matches the signature Signature ok The Subject's Distinguished Name is as follows commonName :ASN.1 12:'parser22.localhost' Certificate is to be certified until Mar 12 03:49:26 2038 GMT (7000 days) failed to update database TXT_DB error number 2

at checkExecSyncError (child_process.js:613:13)
at Object.execSync (child_process.js:653:13)
at Object.childProcess.(anonymous function) [as execSync] (ELECTRON_ASAR.js:689:22)
at run (/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/devcert/dist/utils.js:22:28)
at Object.openssl (/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/devcert/dist/utils.js:12:12)
at constants_1.withDomainCertificateConfig (/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/devcert/dist/certificates.js:37:33)
at Object.withDomainCertificateConfig (/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/devcert/dist/constants.js:45:5)
at certificate_authority_1.withCertificateAuthorityCredentials (/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/devcert/dist/certificates.js:34:29)
at Object.<anonymous> (/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/devcert/dist/certificate-authority.js:89:15)
at Generator.next (<anonymous>)
at fulfilled (/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/devcert/node_modules/tslib/tslib.js:104:62)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)

error: null, cmd: 'openssl ca -config "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp" -in "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate-signing-request.csr" -out "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate.crt" -keyfile "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-179494IctCHu1hUbE.tmp" -cert "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949Inm9Be39jIHK.tmp" -days 7000 -batch', file: '/bin/sh', args: [ '/bin/sh', '-c', 'openssl ca -config "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp" -in "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate-signing-request.csr" -out "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate.crt" -keyfile "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-179494IctCHu1hUbE.tmp" -cert "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949Inm9Be39jIHK.tmp" -days 7000 -batch' ], options: { stdio: [ [Object], [Object], [Object] ], env: { RANDFILE: '/Users/sarbadajaiswal/Library/Application Support/devcert/.rnd', npm_package_devDependencies_lint_staged: '^7.2.0', npm_package_devDependencies_react_dom: '^16.0.0', REACT_APP_NAVI_APP_DOWNLOAD_LINK_LINUX: 'https://s3.amazonaws.com/locallockbox/Navi.deb', npm_package_build_directories_buildResources: 'resources', npm_package_build_productName: 'NAVI', npm_package_devDependencies_babel_plugin_transform_class_properties: '^6.24.1', npm_package_devDependencies_electron_builder: '^20.26.1', npm_package_dependencies_node_env_file: '^0.1.8', rvm_use_flag: '', npm_package_devDependencies_url_loader: '^1.0.1', TERM_PROGRAM: 'iTerm.app', rvm_bin_path: '/Users/sarbadajaiswal/.rvm/bin', npm_package_devDependencies_env_cmd: '^8.0.2', npm_package_devDependencies_file_loader: '^1.1.5', NODE: '/usr/local/bin/node', npm_config_version_git_tag: 'true', npm_package_homepage: 'https://app.navihq.com/', npm_package_scripts_prod: 'cp .env.production ./app/.env && webpack --config webpack.build.config.js && electron --noDevServer .', GEM_HOME: '/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1', rvm_quiet_flag: '', INIT_CWD: '/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron', REACT_APP_API_URL: 'http://localhost:3020', SHELL: '/bin/zsh', TERM: 'xterm-256color', rvm_gemstone_url: '', npm_package_devDependencies_electron_packager: '^9.1.0', npm_package_devDependencies_style_loader: '^0.19.0', REACT_APP_NAVI_APP_DOWNLOAD_LINK_MACOS: 'https://s3.amazonaws.com/locallockbox/Navi.dmg', npm_package_build_files_2: 'node_modules//*', TMPDIR: '/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/', IRBRC: '/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1/.irbrc', rvm_docs_type: '', npm_config_init_license: 'MIT', npm_package_build_files_3: 'package.json', npm_package_devDependencies_babili_webpack_plugin: '^0.1.2', npm_package_devDependencies_electron_positioner: '^3.0.1', npm_package_dependencies_kill_port: '^1.3.1', Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.AxqC0igzsW/Render', npm_package_build_files_0: 'app/*/', npm_package_devDependencies_babel_core: '^6.24.1', TERM_PROGRAM_VERSION: '3.2.5', npm_package_build_files_1: 'dist//', npm_package_scripts_dev: 'env-cmd .env.development webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js', npm_package_devDependencies_sass_loader: '^7.0.3', TERM_SESSION_ID: 'w0t0p8:689EB754-A489-4D8B-B47E-E142D349FC37', MY_RUBY_HOME: '/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1', rvm_hook: '', npm_config_registry: 'https://registry.yarnpkg.com', npm_package_build_files_4: 'main.js', npm_package_build_files_5: 'credentials.json', npm_package_devDependencies_extract_text_webpack_plugin: '^3.0.1', ZSH: '/Users/sarbadajaiswal/.oh-my-zsh', npm_package_readmeFilename: 'README.md', NAVI_ENV: 'local', npm_config_python: '/usr/bin/python', npm_package_description: 'Official NAVI Lockbox', npm_package_build_directories_output: 'releases', npm_package_devDependencies_react: '^16.0.0', npm_package_devDependencies_webpack: '^3.6.0', USER: 'sarbadajaiswal', npm_package_license: 'MIT', npm_package_build_win_certificateFile: 'cert/NAVI.pfx', npm_package_dependencies_websocket: '^1.0.26', rvm_gemstone_package_file: '', npm_package_devDependencies_eslint_loader: '^2.0.0', COMMAND_MODE: 'unix2003', _system_type: 'Darwin', npm_package_lint_staged_ignore_1: 'webpack.build.config.js', npm_package_lint_staged_ignore_0: 'webpack.dev.config.js', npm_package_devDependencies_webpack_dev_server: '^2.4.5', npm_package_dependencies_node_yaml: '^3.1.1', rvm_path: '/Users/sarbadajaiswal/.rvm', npm_package_devDependencies_babel_loader: '^7.1.2', SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.Vd3Vt5lRTU/Listeners', REACT_APP_PARSER_URL: 'http://localhost:9090', npm_package_scripts_stag_mac: 'cp .env.staging ./app/.env && webpack --config webpack.stag.config.js && build -m --dir', npm_package_devDependencies_eslint: '^5.1.0', __CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0', REACT_APP_WEB_URL: 'http://localhost:3000', npm_package_dependencies_devcert: '', npm_execpath: '/usr/local/Cellar/yarn/1.12.3/libexec/bin/yarn.js', rvm_proxy: '', PAGER: 'less', rvm_ruby_file: '', npm_package_author_name: 'NAVIHQ', npm_package_devDependencies_babel_plugin_import: '^1.8.0', npm_package_devDependencies_babel_preset_react: '^6.24.1', LSCOLORS: 'Gxfxcxdxbxegedabagacad', REACT_APP_GO_SOCKET_PORT: '8888', npm_package_dependencies_prop_types: '^15.6.2', rvm_prefix: '/Users/sarbadajaiswal', rvm_silent_flag: '', npm_package_build_dmg_title: '${productName} ${version}', npm_config_argv: '{"remain":[],"cooked":["run","dev"],"original":["dev"]}', PATH: '/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/yarn--1547178554060-0.7591251666671179:/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/node_modules/.bin:/Users/sarbadajaiswal/.config/yarn/link/node_modules/.bin:/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/node_modules/.bin:/Users/sarbadajaiswal/.config/yarn/link/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1/bin:/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1@global/bin:/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1/bin:/usr/local/opt/nss/bin:/usr/local/opt/node@8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/sarbadajaiswal/.rvm/bin', rvm_ruby_make: '', npm_package_devDependencies_babel_preset_es2016: '^6.24.1', NAVIPATH: '/Users/sarbadajaiswal/.navi', : '/usr/local/bin/node', npm_package_build_appId: 'app.navihq.com', REACT_APP_NAVI_APP_DOWNLOAD_LINK_WIN: 'https://s3.amazonaws.com/locallockbox/Navi.exe', npm_package_scripts_prod_mac: 'cp .env.production ./app/.env && webpack --config webpack.build.config.js && build -m --dir', PWD: '/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron', npm_lifecycle_event: 'dev', npm_package_name: 'navi', npm_package_build_win_publisherName: 'NAVI', LANG: 'en_US.UTF-8', rvm_sdk: '', ITERM_PROFILE: 'Default', npm_config_version_commit_hooks: 'true', npm_package_scripts_build: 'webpack --config webpack.build.config.js', npm_package_dependencies_react_router_dom: '^4.3.1', XPC_FLAGS: '0x0', _system_arch: 'x86_64', NODE_ENV: 'development', npm_config_bin_links: 'true', npm_package_scripts_stag_pack: 'cp .env.staging ./app/.env && webpack --config webpack.stag.config.js && build', npm_package_scripts_make_cert: 'electron-builder create-self-signed-cert -p NAVI', _system_version: '10.14', npm_package_main: 'main.js', npm_package_build_win_verifyUpdateCodeSignature: 'false', npm_package_dependencies_portscanner: '^2.2.0', npm_package_version: '0.0.6', npm_package_scripts_prod_pack: 'cp .env.production ./app/.env && webpack --config webpack.build.config.js && build', XPC_SERVICE_NAME: '0', npm_package_lint_staged_linters_js_0: 'eslint --fix', npm_package_dependencies_wait_port: '^0.2.2', rvm_version: '1.29.3 (latest)', REACT_APP_PARSER_PORT: '9090', npm_package_lint_staged_linters___js_1: 'git add', COLORFGBG: '0;15', HOME: '/Users/sarbadajaiswal', SHLVL: '6', rvm_pretty_print_flag: '', rvm_script_name: '', rvm_ruby_mode: '', npm_config_strict_ssl: 'true', npm_config_save_prefix: '^', npm_package_build_linux_category: 'Utility', npm_config_version_git_message: 'v%s', npm_package_devDependencies_babel_eslint: '^8.2.5', npm_package_devDependencies_husky: '^0.14.3', NPM_CONFIG_PYTHON: '/usr/bin/python', ITERM_SESSION_ID: 'w0t0p8:689EB754-A489-4D8B-B47E-E142D349FC37', npm_package_scripts_stag: 'cp .env.staging ./app/.env && webpack --config webpack.stag.config.js && electron --noDevServer .', npm_package_devDependencies_html_webpack_plugin: '^2.28.0', npm_package_dependencies_fs_extra: '^7.0.0', npm_package_dependencies_googleapis: '^32.0.0', YARN_WRAP_OUTPUT: 'false', LOGNAME: 'sarbadajaiswal', LESS: '-R', npm_package_scripts_stag_unpack: 'cp .env.staging ./app/.env && webpack --config webpack.stag.config.js && build --dir', npm_lifecycle_script: 'env-cmd .env.development webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js', rvm_alias_expanded: '', PREFIX: '/usr/local', npm_package_author_email: 'info@navihq.com', LC_CTYPE: 'en_US.UTF-8', GEM_PATH: '/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1:/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1@global', rvm_wrapper_name: '', npm_package_dependencies_auto_launch: '^5.0.5', npm_package_dependencies_mkdirp: '^0.5.1', npm_config_user_agent: 'yarn/1.12.3 npm/? node/v8.11.2 darwin x64', npm_config_ignore_scripts: '', npm_config_version_git_sign: '', rvm_nightly_flag: '', rvm_ruby_make_install: '', npm_package_scripts_prod_unpack: 'cp .env.production ./app/.env && webpack --config webpack.build.config.js && build --dir', npm_package_devDependencies_dotenv_webpack: '^1.5.7', npm_package_dependencies_unzipper: '^0.9.2', rvm_niceness: '', rvm_ruby_bits: '', npm_config_ignore_optional: '', npm_config_init_version: '1.0.0', npm_package_build_linux_target: 'deb', npm_package_dependencies_antd: '^3.6.6', rvm_bin_flag: '', npm_package_devDependencies_css_loader: '^0.28.1', npm_package_devDependencies_node_sass: '^4.9.0', SECURITYSESSIONID: '186a8', RUBY_VERSION: 'ruby-2.4.1', rvm_only_path_flag: '', npm_package_scripts_precommit: 'lint-staged', npm_package_devDependencies_electron: '^2.0.3', _system_name: 'OSX', REACT_APP_CREATE_ACCOUNT_LINK: 'http://localhost:3000/auth/signup', npm_config_version_tag_prefix: 'v', npm_package_devDependencies_eslint_plugin_react: '^7.10.0', npm_node_execpath: '/usr/local/bin/node', COLORTERM: 'truecolor', GOOGLE_API_KEY: 'AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q', ENV_FILE: '/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/app/.env' }, shell: true, file: '/bin/sh', args: [ '/bin/sh', '-c', 'openssl ca -config "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949kpPFsM66Rz9G.tmp" -in "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate-signing-request.csr" -out "/Users/sarbadajaiswal/Library/Application Support/devcert/domains/parser22.localhost/certificate.crt" -keyfile "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-179494IctCHu1hUbE.tmp" -cert "/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/tmp-17949Inm9Be39jIHK.tmp" -days 7000 -batch' ], envPairs: [ 'RANDFILE=/Users/sarbadajaiswal/Library/Application Support/devcert/.rnd', 'npm_package_devDependencies_lint_staged=^7.2.0', 'npm_package_devDependencies_react_dom=^16.0.0', 'REACT_APP_NAVI_APP_DOWNLOAD_LINK_LINUX=https://s3.amazonaws.com/locallockbox/Navi.deb', 'npm_package_build_directories_buildResources=resources', 'npm_package_build_productName=NAVI', 'npm_package_devDependencies_babel_plugin_transform_class_properties=^6.24.1', 'npm_package_devDependencies_electron_builder=^20.26.1', 'npm_package_dependencies_node_env_file=^0.1.8', 'rvm_use_flag=', 'npm_package_devDependencies_url_loader=^1.0.1', 'TERM_PROGRAM=iTerm.app', 'rvm_bin_path=/Users/sarbadajaiswal/.rvm/bin', 'npm_package_devDependencies_env_cmd=^8.0.2', 'npm_package_devDependencies_file_loader=^1.1.5', 'NODE=/usr/local/bin/node', 'npm_config_version_git_tag=true', 'npm_package_homepage=https://app.navihq.com/', 'npm_package_scripts_prod=cp .env.production ./app/.env && webpack --config webpack.build.config.js && electron --noDevServer .', 'GEM_HOME=/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1', 'rvm_quiet_flag=', 'INIT_CWD=/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron', 'REACT_APP_API_URL=http://localhost:3020', 'SHELL=/bin/zsh', 'TERM=xterm-256color', 'rvm_gemstone_url=', 'npm_package_devDependencies_electron_packager=^9.1.0', 'npm_package_devDependencies_style_loader=^0.19.0', 'REACT_APP_NAVI_APP_DOWNLOAD_LINK_MACOS=https://s3.amazonaws.com/locallockbox/Navi.dmg', 'npm_package_build_files_2=node_modules//*', 'TMPDIR=/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/', 'IRBRC=/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1/.irbrc', 'rvm_docs_type=', 'npm_config_init_license=MIT', 'npm_package_build_files_3=package.json', 'npm_package_devDependencies_babili_webpack_plugin=^0.1.2', 'npm_package_devDependencies_electron_positioner=^3.0.1', 'npm_package_dependencies_kill_port=^1.3.1', 'Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.AxqC0igzsW/Render', 'npm_package_build_files_0=app/*/', 'npm_package_devDependencies_babel_core=^6.24.1', 'TERM_PROGRAM_VERSION=3.2.5', 'npm_package_build_files_1=dist//*', 'npm_package_scripts_dev=env-cmd .env.development webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js', 'npm_package_devDependencies_sass_loader=^7.0.3', 'TERM_SESSION_ID=w0t0p8:689EB754-A489-4D8B-B47E-E142D349FC37', 'MY_RUBY_HOME=/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1', 'rvm_hook=', 'npm_config_registry=https://registry.yarnpkg.com', 'npm_package_build_files_4=main.js', 'npm_package_build_files_5=credentials.json', 'npm_package_devDependencies_extract_text_webpack_plugin=^3.0.1', 'ZSH=/Users/sarbadajaiswal/.oh-my-zsh', 'npm_package_readmeFilename=README.md', 'NAVI_ENV=local', 'npm_config_python=/usr/bin/python', 'npm_package_description=Official NAVI Lockbox', 'npm_package_build_directories_output=releases', 'npm_package_devDependencies_react=^16.0.0', 'npm_package_devDependencies_webpack=^3.6.0', 'USER=sarbadajaiswal', 'npm_package_license=MIT', 'npm_package_build_win_certificateFile=cert/NAVI.pfx', 'npm_package_dependencies_websocket=^1.0.26', 'rvm_gemstone_package_file=', 'npm_package_devDependencies_eslint_loader=^2.0.0', 'COMMAND_MODE=unix2003', '_system_type=Darwin', 'npm_package_lint_staged_ignore_1=webpack.build.config.js', 'npm_package_lint_staged_ignore_0=webpack.dev.config.js', 'npm_package_devDependencies_webpack_dev_server=^2.4.5', 'npm_package_dependencies_node_yaml=^3.1.1', 'rvm_path=/Users/sarbadajaiswal/.rvm', 'npm_package_devDependencies_babel_loader=^7.1.2', 'SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.Vd3Vt5lRTU/Listeners', 'REACT_APP_PARSER_URL=http://localhost:9090', 'npm_package_scripts_stag_mac=cp .env.staging ./app/.env && webpack --config webpack.stag.config.js && build -m --dir', 'npm_package_devDependencies_eslint=^5.1.0', 'CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0', 'REACT_APP_WEB_URL=http://localhost:3000', 'npm_package_dependencies_devcert=*', 'npm_execpath=/usr/local/Cellar/yarn/1.12.3/libexec/bin/yarn.js', 'rvm_proxy=', 'PAGER=less', 'rvm_ruby_file=', 'npm_package_author_name=NAVIHQ', 'npm_package_devDependencies_babel_plugin_import=^1.8.0', 'npm_package_devDependencies_babel_preset_react=^6.24.1', 'LSCOLORS=Gxfxcxdxbxegedabagacad', 'REACT_APP_GO_SOCKET_PORT=8888', 'npm_package_dependencies_prop_types=^15.6.2', 'rvm_prefix=/Users/sarbadajaiswal', 'rvm_silent_flag=', 'npm_package_build_dmg_title=${productName} ${version}', 'npm_config_argv={"remain":[],"cooked":["run","dev"],"original":["dev"]}', 'PATH=/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/yarn--1547178554060-0.7591251666671179:/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/node_modules/.bin:/Users/sarbadajaiswal/.config/yarn/link/node_modules/.bin:/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/node_modules/.bin:/Users/sarbadajaiswal/.config/yarn/link/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1/bin:/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1@global/bin:/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1/bin:/usr/local/opt/nss/bin:/usr/local/opt/node@8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/sarbadajaiswal/.rvm/bin', 'rvm_ruby_make=', 'npm_package_devDependencies_babel_preset_es2016=^6.24.1', 'NAVIPATH=/Users/sarbadajaiswal/.navi', '=/usr/local/bin/node', ... 92 more items ], killSignal: undefined }, envPairs: [ 'RANDFILE=/Users/sarbadajaiswal/Library/Application Support/devcert/.rnd', 'npm_package_devDependencies_lint_staged=^7.2.0', 'npm_package_devDependencies_react_dom=^16.0.0', 'REACT_APP_NAVI_APP_DOWNLOAD_LINK_LINUX=https://s3.amazonaws.com/locallockbox/Navi.deb', 'npm_package_build_directories_buildResources=resources', 'npm_package_build_productName=NAVI', 'npm_package_devDependencies_babel_plugin_transform_class_properties=^6.24.1', 'npm_package_devDependencies_electron_builder=^20.26.1', 'npm_package_dependencies_node_env_file=^0.1.8', 'rvm_use_flag=', 'npm_package_devDependencies_url_loader=^1.0.1', 'TERM_PROGRAM=iTerm.app', 'rvm_bin_path=/Users/sarbadajaiswal/.rvm/bin', 'npm_package_devDependencies_env_cmd=^8.0.2', 'npm_package_devDependencies_file_loader=^1.1.5', 'NODE=/usr/local/bin/node', 'npm_config_version_git_tag=true', 'npm_package_homepage=https://app.navihq.com/', 'npm_package_scripts_prod=cp .env.production ./app/.env && webpack --config webpack.build.config.js && electron --noDevServer .', 'GEM_HOME=/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1', 'rvm_quiet_flag=', 'INIT_CWD=/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron', 'REACT_APP_API_URL=http://localhost:3020', 'SHELL=/bin/zsh', 'TERM=xterm-256color', 'rvm_gemstone_url=', 'npm_package_devDependencies_electron_packager=^9.1.0', 'npm_package_devDependencies_style_loader=^0.19.0', 'REACT_APP_NAVI_APP_DOWNLOAD_LINK_MACOS=https://s3.amazonaws.com/locallockbox/Navi.dmg', 'npm_package_build_files_2=node_modules//*', 'TMPDIR=/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/', 'IRBRC=/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1/.irbrc', 'rvm_docs_type=', 'npm_config_init_license=MIT', 'npm_package_build_files_3=package.json', 'npm_package_devDependencies_babili_webpack_plugin=^0.1.2', 'npm_package_devDependencies_electron_positioner=^3.0.1', 'npm_package_dependencies_kill_port=^1.3.1', 'Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.AxqC0igzsW/Render', 'npm_package_build_files_0=app/*/', 'npm_package_devDependencies_babel_core=^6.24.1', 'TERM_PROGRAM_VERSION=3.2.5', 'npm_package_build_files_1=dist//', 'npm_package_scripts_dev=env-cmd .env.development webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js', 'npm_package_devDependencies_sass_loader=^7.0.3', 'TERM_SESSION_ID=w0t0p8:689EB754-A489-4D8B-B47E-E142D349FC37', 'MY_RUBY_HOME=/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1', 'rvm_hook=', 'npm_config_registry=https://registry.yarnpkg.com', 'npm_package_build_files_4=main.js', 'npm_package_build_files_5=credentials.json', 'npm_package_devDependencies_extract_text_webpack_plugin=^3.0.1', 'ZSH=/Users/sarbadajaiswal/.oh-my-zsh', 'npm_package_readmeFilename=README.md', 'NAVI_ENV=local', 'npm_config_python=/usr/bin/python', 'npm_package_description=Official NAVI Lockbox', 'npm_package_build_directories_output=releases', 'npm_package_devDependencies_react=^16.0.0', 'npm_package_devDependencies_webpack=^3.6.0', 'USER=sarbadajaiswal', 'npm_package_license=MIT', 'npm_package_build_win_certificateFile=cert/NAVI.pfx', 'npm_package_dependencies_websocket=^1.0.26', 'rvm_gemstone_package_file=', 'npm_package_devDependencies_eslint_loader=^2.0.0', 'COMMAND_MODE=unix2003', '_system_type=Darwin', 'npm_package_lint_staged_ignore_1=webpack.build.config.js', 'npm_package_lint_staged_ignore_0=webpack.dev.config.js', 'npm_package_devDependencies_webpack_dev_server=^2.4.5', 'npm_package_dependencies_node_yaml=^3.1.1', 'rvm_path=/Users/sarbadajaiswal/.rvm', 'npm_package_devDependencies_babel_loader=^7.1.2', 'SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.Vd3Vt5lRTU/Listeners', 'REACT_APP_PARSER_URL=http://localhost:9090', 'npm_package_scripts_stag_mac=cp .env.staging ./app/.env && webpack --config webpack.stag.config.js && build -m --dir', 'npm_package_devDependencies_eslint=^5.1.0', '__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0', 'REACT_APP_WEB_URL=http://localhost:3000', 'npm_package_dependencies_devcert=', 'npm_execpath=/usr/local/Cellar/yarn/1.12.3/libexec/bin/yarn.js', 'rvm_proxy=', 'PAGER=less', 'rvm_ruby_file=', 'npm_package_author_name=NAVIHQ', 'npm_package_devDependencies_babel_plugin_import=^1.8.0', 'npm_package_devDependencies_babel_preset_react=^6.24.1', 'LSCOLORS=Gxfxcxdxbxegedabagacad', 'REACT_APP_GO_SOCKET_PORT=8888', 'npm_package_dependencies_prop_types=^15.6.2', 'rvm_prefix=/Users/sarbadajaiswal', 'rvm_silent_flag=', 'npm_package_build_dmg_title=${productName} ${version}', 'npm_config_argv={"remain":[],"cooked":["run","dev"],"original":["dev"]}', 'PATH=/var/folders/99/cpct41cn2kbchjzxvp3422p40000gn/T/yarn--1547178554060-0.7591251666671179:/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/node_modules/.bin:/Users/sarbadajaiswal/.config/yarn/link/node_modules/.bin:/Users/sarbadajaiswal/Projects/whitehatengineering/navi-electron/node_modules/.bin:/Users/sarbadajaiswal/.config/yarn/link/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1/bin:/Users/sarbadajaiswal/.rvm/gems/ruby-2.4.1@global/bin:/Users/sarbadajaiswal/.rvm/rubies/ruby-2.4.1/bin:/usr/local/opt/nss/bin:/usr/local/opt/node@8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/sarbadajaiswal/.rvm/bin', 'rvm_ruby_make=', 'npm_package_devDependencies_babel_preset_es2016=^6.24.1', 'NAVIPATH=/Users/sarbadajaiswal/.navi', '=/usr/local/bin/node', ... 92 more items ], stderr: <Buffer 55 73 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 72 6f 6d 20 2f 76 61 72 2f 66 6f 6c 64 65 72 73 2f 39 39 2f 63 70 63 74 34 31 63 6e 32 ... >, stdout: , pid: 17968, output: [ null,

, ], signal: null, status: 1 } prams log Returning domain certificate (node:17949) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (node:17949) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Hash: f20895932b4742179e5d Version: webpack 3.12.0
daniel-crouch commented 3 years ago

Did you ever get an answer or fix to this? It was working fine for me, then suddenly started failing with this error

daniel-crouch commented 3 years ago

Scanning the other issues, #18 has a work around fix