Explorar el Código

enable certificate generation on windows
(cherry picked from commit 9a85b7dcb4bd200c033d0c720caa1f902528a5e4)

Julius Pfrommer hace 10 años
padre
commit
c451b5db7c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/certs/create_self-signed.py

+ 1 - 1
tools/certs/create_self-signed.py

@@ -11,8 +11,8 @@ if not os.path.exists(sys.argv[1]):
     
 os.chdir(os.path.dirname(os.path.abspath(__file__)))
 
-
 os.environ['HOSTNAME'] = socket.gethostname()
+os.environ['OPENSSL_CONF'] = os.path.join(os.getcwd(), "localhost.cnf")
 
 os.system("""openssl genrsa -out ca.key 2048""")
 os.system("""openssl req \