mimus-assa / APIAIS

Application Program Interface for Artificial Intelligence Systems
0 stars 1 forks source link

add https to flask #6

Closed mimus-assa closed 3 years ago

mimus-assa commented 3 years ago
from OpenSSL import SSL
context = SSL.Context(SSL.PROTOCOL_TLSv1_2)
context.use_privatekey_file('server.key')
context.use_certificate_file('server.crt')
mimus-assa commented 3 years ago

openssl has to be instaled yet?

mimus-assa commented 3 years ago

done here dda5680cfcc0c6d624e07a7865fa861cff00c67b