Revision eafd8762 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
710 | 710 |
stderr_logging=not options.fork) |
711 | 711 |
logging.info("ganeti node daemon startup") |
712 | 712 |
|
713 |
# Read SSL certificate |
|
714 |
ssl_params = http.HttpSslParams(ssl_key_path=constants.SSL_CERT_FILE, |
|
715 |
ssl_cert_path=constants.SSL_CERT_FILE) |
|
716 |
|
|
713 | 717 |
# Prepare job queue |
714 | 718 |
queue_lock = jstore.InitAndVerifyQueue(must_lock=False) |
715 | 719 |
|
716 | 720 |
mainloop = daemon.Mainloop() |
717 |
server = NodeHttpServer(mainloop, "", port) |
|
721 |
server = NodeHttpServer(mainloop, "", port, |
|
722 |
ssl_params=ssl_params, ssl_verify_peer=True) |
|
718 | 723 |
server.Start() |
719 | 724 |
try: |
720 | 725 |
mainloop.Run() |
Also available in: Unified diff