mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #40] https setup failing to start #23
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mv5492 on GitHub (Feb 16, 2015).
Original GitHub issue: https://github.com/mthenw/frontail/issues/40
Hello, and thank you for frontail.
I'm trying to set up https. When I try to start a daemon I get this err:
_tls_common.js:108
c.context.setKey(options.key);
^
Error: error:0906A068:PEM routines:PEM_do_header:bad password read
at Error (native)
at Object.createSecureContext (_tls_common.js:108:19)
at Server (_tls_wrap.js:596:25)
at new Server (https.js:36:14)
at Object.exports.createServer (https.js:56:10)
at ServerBuilder.build (../node_modules/frontail/lib/server_builder.js:18:22)
at Object. (../node_modules/frontail/index.js:60:10)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
My certificates are not self-signed, but come from an authorized certificate provider. These are the key and certificate files as used by my Apache web server. Can these be inputs? I'm not sure how to deal with the password, unless that's my key passphrase.
Thanks, Mike
@mthenw commented on GitHub (Feb 23, 2015):
Hi @mv5492,
could you try this or that?
@mv5492 commented on GitHub (Feb 23, 2015):
Thank you. I saw this solution, but really wanted to keep my passphrase. This works great. I actually made a copy of the key and removed the passphrase from the copy. I guess after reading the solution what I was hoping for was a way to be prompted for the passphrase when frontail starts when using ssl. is that possible? Thank you.
@mthenw commented on GitHub (Feb 23, 2015):
Yes, it is possible to ask user for passphrase when starting https. I've created separate issue for that but I not sure when I will have time to implement that. Probably next week.