summaryrefslogtreecommitdiffstats
path: root/ilo
diff options
context:
space:
mode:
Diffstat (limited to 'ilo')
-rwxr-xr-xilo/certs38
-rw-r--r--ilo/intgapp_221.jarbin0 -> 374079 bytes
-rw-r--r--ilo/mypolicy7
-rw-r--r--ilo/server.cnf19
-rw-r--r--ilo/server.crt14
-rw-r--r--ilo/server.jksbin0 -> 600 bytes
-rw-r--r--ilo/server.key16
7 files changed, 94 insertions, 0 deletions
diff --git a/ilo/certs b/ilo/certs
new file mode 100755
index 0000000..4b4e262
--- /dev/null
+++ b/ilo/certs
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+rm -f server.jks server.key server.csr server.crt server.cnf
+
+cat << EOF > server.cnf
+
+[req]
+distinguished_name = req_distinguished_name
+x509_extensions = v3_req
+prompt = no
+
+[ req_distinguished_name ]
+commonName = localhost
+
+[v3_req]
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid,issuer
+basicConstraints = CA:TRUE
+subjectAltName = @alt_names
+
+[alt_names]
+DNS.1 = localhost
+IP.1 = 127.0.0.1
+
+EOF
+
+
+
+#openssl genrsa -out server.key 1024
+#openssl req -config server.cnf -new -key server.key -out server.csr
+#openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
+
+openssl req -x509 -nodes -days 3650 -newkey rsa:1024 -keyout server.key -out server.crt -config server.cnf
+
+yes | keytool -import -v -trustcacerts -alias 127.0.0.1 -file server.crt -keystore server.jks -keypass changeit -storepass changeit
+
+
+
diff --git a/ilo/intgapp_221.jar b/ilo/intgapp_221.jar
new file mode 100644
index 0000000..c18f4ab
--- /dev/null
+++ b/ilo/intgapp_221.jar
Binary files differ
diff --git a/ilo/mypolicy b/ilo/mypolicy
new file mode 100644
index 0000000..e945c25
--- /dev/null
+++ b/ilo/mypolicy
@@ -0,0 +1,7 @@
+grant {
+ permission java.net.SocketPermission "localhost", "connect, accept ,resolve, listen";
+ permission java.util.PropertyPermission "java.io.tmpdir","read";
+ permission java.io.FilePermission "/tmp/-", "read, write";
+ permission java.io.FilePermission "/tmp", "read, write";
+ permission java.lang.RuntimePermission "loadLibrary.*";
+};
diff --git a/ilo/server.cnf b/ilo/server.cnf
new file mode 100644
index 0000000..fd38814
--- /dev/null
+++ b/ilo/server.cnf
@@ -0,0 +1,19 @@
+
+[req]
+distinguished_name = req_distinguished_name
+x509_extensions = v3_req
+prompt = no
+
+[ req_distinguished_name ]
+commonName = localhost
+
+[v3_req]
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid,issuer
+basicConstraints = CA:TRUE
+subjectAltName = @alt_names
+
+[alt_names]
+DNS.1 = localhost
+IP.1 = 127.0.0.1
+
diff --git a/ilo/server.crt b/ilo/server.crt
new file mode 100644
index 0000000..998ba96
--- /dev/null
+++ b/ilo/server.crt
@@ -0,0 +1,14 @@
+-----BEGIN CERTIFICATE-----
+MIICEjCCAXugAwIBAgIJALIh/DebfUKPMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNV
+BAMTCWxvY2FsaG9zdDAeFw0xNTA2MDUxMDI3NDFaFw0yNTA2MDIxMDI3NDFaMBQx
+EjAQBgNVBAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+qovkL5zBHilo+a9dHIWfTYE2IQzFluyKv7sTHO3E0g91gbIpKkqdtHZ0TjZMU+Gr
+/2q5bWmXRYJUAHNezzKLHDFTWjMJ8fQkjg9+82gMYMiecPrbDtaZSWH8ZQf0RWjN
+XD5oV/JOl5DEsaI48xiiIuofdr1SwUvVlyfE1AhqoRECAwEAAaNsMGowHQYDVR0O
+BBYEFPBsC/4d9RfwGvMo4peoXHvlBMp6MB8GA1UdIwQYMBaAFPBsC/4d9RfwGvMo
+4peoXHvlBMp6MAwGA1UdEwQFMAMBAf8wGgYDVR0RBBMwEYIJbG9jYWxob3N0hwR/
+AAABMA0GCSqGSIb3DQEBBQUAA4GBAGS0FTrKSY7QtrLAufONRsqWkY3plSf/Cf0O
+6MQbcQIFcu9clsj1yOcdrMJe/xd1Jhyfu1KAOIIVbif/hPP/oxn8aiT6ibCKCTTq
+TInk38NwGtnZ7SQDBNL8JMCpTChDSgkdggU3PeIQip93MR0Yfhv7lePdqAD0Jdig
+wFBte97D
+-----END CERTIFICATE-----
diff --git a/ilo/server.jks b/ilo/server.jks
new file mode 100644
index 0000000..5460fa4
--- /dev/null
+++ b/ilo/server.jks
Binary files differ
diff --git a/ilo/server.key b/ilo/server.key
new file mode 100644
index 0000000..1938bed
--- /dev/null
+++ b/ilo/server.key
@@ -0,0 +1,16 @@
+-----BEGIN PRIVATE KEY-----
+MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKqL5C+cwR4paPmv
+XRyFn02BNiEMxZbsir+7ExztxNIPdYGyKSpKnbR2dE42TFPhq/9quW1pl0WCVABz
+Xs8yixwxU1ozCfH0JI4PfvNoDGDInnD62w7WmUlh/GUH9EVozVw+aFfyTpeQxLGi
+OPMYoiLqH3a9UsFL1ZcnxNQIaqERAgMBAAECgYAzTTVs5RhqfEZppUi7Ba7v34hq
+1K6zQaBTIHEVaKimD6RnSTJ82EksOd2ukULQkLfucyooMXUhoZynLg09ApU5fh92
+CXFa4R9JjHlIyqw1nJb9L2F6q+WYMiycCLIHBhlVjjsIb/ZyJWOc8x6Ad1CPKlZx
+i5tilaj5YYoEgoi24QJBANEnbnZE94NVN4Rck6TuECtNNDdQsx3K2GMHYxlQk+dm
+Yr/yMH1Tn56OEHR+m6xhVDLiV5Ov9x7x64mLI9E1JD0CQQDQvsLSGZAbiy4v4s4+
+uq9ZB98Aly/+gpqNm4Hm+iE7liSjW/de+JqOH27I3LUACwO2NHmK3FcBL2pYZWXG
+RPllAkAfjnN8JKuzhQf7UHx2RfTqk5ttPR/JPvGm/1ZUW3P1Vd1QWJo4ToWmxoh1
+CyUxvP2XL89G2SXP5XBEMFoXFo2BAkB/twb5hrxdrcT/dVPcm1mnLiKpeNbbb8rh
+svBCgm0MyOr3q8/ook/lfqPIbwiq0xJdSzPF2tO8nOcC2F7xdMflAkEAxTqQimce
+wkc4DAzKTuwq7vtogTakOglVZxNdYq0wQ9fPCjhpaMOIEHGCnu3Ii8ay1CnPHYpD
+8+W8jck6EITNCA==
+-----END PRIVATE KEY-----