Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Nov 30, 2024
1 parent 3da6f8d commit 80faaf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kmip/services/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ def interrupt_handler(trigger, frame):
if certfile:
keyfile = self.config.settings.get('key_path')
context.load_cert_chain(certfile, keyfile=keyfile)
else:
raise ValueError("certfile must be specified for server-side operations")

self._socket = context.wrap_socket(
self._socket,
Expand Down

0 comments on commit 80faaf6

Please sign in to comment.