summaryrefslogtreecommitdiff
path: root/certs/makewinrtcerts.py
diff options
context:
space:
mode:
Diffstat (limited to 'certs/makewinrtcerts.py')
-rwxr-xr-xcerts/makewinrtcerts.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/certs/makewinrtcerts.py b/certs/makewinrtcerts.py
index eb5003c705d..60a42ae36f0 100755
--- a/certs/makewinrtcerts.py
+++ b/certs/makewinrtcerts.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# **********************************************************************
#
-# Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
+# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
@@ -75,7 +75,7 @@ config = {\
"ca.cnf":"\
# **********************************************************************\n\
#\n\
-# Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.\n\
+# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.\n\
#\n\
# This copy of Ice is licensed to you under the terms described in the\n\
# ICE_LICENSE file included in this distribution.\n\
@@ -124,7 +124,7 @@ emailAddress = info@zeroc.com\n\
"server.cnf":"\
# **********************************************************************\n\
#\n\
-# Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.\n\
+# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.\n\
#\n\
# This copy of Ice is licensed to you under the terms described in the\n\
# ICE_LICENSE file included in this distribution.\n\
@@ -213,6 +213,9 @@ os.system(cmd)
shutil.copyfile(os.path.join(caHome, "cakey.pem"), caKey)
shutil.copyfile(os.path.join(caHome, "cacert.pem"), caCert)
+cmd = "openssl x509 -in " + caCert + " -outform DER -out " + os.path.join(certs, "cacert.der")
+os.system(cmd)
+
#
# C++ server RSA certificate and key.
#