-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathREADME
40 lines (33 loc) · 1.39 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Clone project and then
- enter to directory with project
- run: mvn clean install && java -jar target/videochat.war
enter to directory src/main/resources
and generate self signed certificate (in repository certificate might be expired):
keytool -genkey -alias tomcat -keyalg RSA -keystore keystore.jks
Enter keystore password: password
Re-enter new password: password
What is your first and last name?
[Unknown]: 127.0.0.1
What is the name of your organizational unit?
[Unknown]: Develepment
What is the name of your organization?
[Unknown]: NextRTC
What is the name of your City or Locality?
[Unknown]: Cracow
What is the name of your State or Province?
[Unknown]: Malopolskie
What is the two-letter country code for this unit?
[Unknown]: PL
Is CN=127.0.0.1, OU=Develepment, O=NextRTC, L=Cracow, ST=Malopolskie, C=PL corre
ct?
[no]: yes
Enter key password for <tomcat> (RETURN if same as keystore password): <RETURN>
then:
- run: mvn clean install && java -jar target/restvideochat.war
- enter https://localhost:8433 in your favourite browser
#### HTTPS is important, because default http handler isn't configured ####
- accept untrusted certificate
###############
Sometimes websocket (js side) is throwing exception then try to change localhost to 127.0.0.1
run with debug enabled on port 5005
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar target/restvideochat.war