Answer the question
In order to leave comments, you need to log in
How to properly generate certificates for the server and start it up?
There is a description - https://github.com/rctl/CryptoVoice
How to generate certificates correctly? Using the command line or in what way? Who knows, tell me in more detail how to perform this procedure!
Answer the question
In order to leave comments, you need to log in
For whom it is written:
- Go into the server folder of the repository.
- Generate server certificate with keytool -genkey -keystore keystore.jks -keyalg RSA (Save password used here)
- Self sign server certificate with keytool -selfcert -alias mykey -keystore keystore.jks -validity 3950
- Export certificate as crt file with keytool -export -alias mykey -keystore keystore.jks -rfc -file server.crt
- Move certificate file into android asset folder with mv server.crt ../app/main/assets/
- Move the Settings.java.example file in server folder to Settings.java and edit the file with your keystore password used in earlier steps
- Compile and run the server (prefferably at a publicly accessiable server) javac *.java && java Switchboard
- Make sure server is accessible and no ports are being blocked
- Go into app/src/main/java/io/rtek/rtvoice/ and move Settings.java.example to Settings.java
- Change settings in Settings.java to reflect your server ip address
- Compile and run app
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question