You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cc-artifacts/MITREid Connect Preparative Procedures.md
+15-17
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
## Install Java Development Kit (JDK)
5
5
1. Install java using ```sudo apt-get install default-jdk```
6
6
2. Validate java installation using ```java --version```
7
+
3. Set JAVA_HOME using ```export JAVA_HOME=jvm/java-11-openjdk-amd64```
7
8
## Install Apache Maven
8
9
1. Download the archive using
9
10
```
@@ -20,21 +21,6 @@ NOTE: Refer to https://maven.apache.org/download.cgi for the latest version of M
20
21
4. Create environmental variable ANT_HOME to <PATH_TO_EXTRACT>/apache-ant-1.10.13/ by adding ```export ANT_HOME=<PATH_TO_EXTRACT>/apache-ant-1.10.13/``` to .bashrc
2. Download Tomcat using ```git clone https://github.com/apache/tomcat.git```
31
-
3. Build Tomcat using Apache Ant
32
-
```
33
-
# cd apache-tomcat-8.5.84
34
-
# ant
35
-
```
36
-
5. Follow instructions in RUNNING.txt
37
-
38
24
## Install nginx reverse proxy and certificates
39
25
Gor testing purposes, self-signed certificates can be used, but it is suggested that Let's Encrypt is used for externally accessivle instances.
40
26
@@ -108,8 +94,20 @@ TODO: Copy in ubuntu from my local to /etc/nginx/sites-available
108
94
12. Enable the ufw firewall and configure to allow Nginx Full
109
95
13. Restart nginx using ```sudo systemctl reload nginx```
110
96
111
-
## Install MITREid Connect
112
-
1. Follow instructions at https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Build-instructions
97
+
## Install MITREid Connect and Start
98
+
1. Copy repo with ```git clone https://www.github.com/videlbabs/OpenID-Connect-Java-SpringServer.git```
99
+
2. Navigate to OpenID-Connect-Java-SpringServer and execute ```mvn package``` to build the server
100
+
3. Start with Jetty
101
+
4. From parent directory
102
+
```
103
+
mvn clean install
104
+
```
105
+
5. From ```openid-connect-server-webapp``` folder
106
+
```
107
+
mvn jetty:run-war
108
+
```
109
+
6. Check the install has worked by navigating to https://localhost/openid-connect-server-webapp/ and login using values username: ```user``` and password: ```password```.
0 commit comments