on 03-25-2014 9:16 AM
How to configure an HTTPS connection between Afaria and Relay Server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In logs on the device I can see:
First connestion:
Samsung Galaxy mini2
Android 4.2.2
Afaria Client 6.60.6398.0
Client Log:
Connecting to HTTPS://xxx.pl:443
Connected to xxx:443
Failed ad 25.03.2014 9:47
Secondary connection:
Samsung Galaxy 2 (GT-I9100)
Android 4.1.2
Afaria Client 6.60.6089.2
Client Log:
Connecting to HTTPS://xxx.pl:443
Connected to xxx:443
Failed ad 3/25/14 9:50:55 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh. your client config is not correct. The client needs to have relay server information also. Your Relay <-> Afaria server traffic seems ok.
The client will then connect to connect to something like:
https://xxx.pl:443/ias_relay_server/client/rs_client.dll/YourFarmID/
you can set this up in you server settings in Afaria (remember to select "use relay server" and then provision devices using SSP or enrollment codes.
BR
Peter
I use the enrollment code.
Client configuration is correct.
Afaria client old
Server: https://xxx.pl:443
Relay Server
Farm ID: afaria
Prefix: /ias_relay_server/cl...
Afaria client new
Address
xxx.pl
Port
443
Protocol
https
Farm ID
afaria
URL Prefix
/ias_relay_server/cl...
Afaria Server ROSE
-id xxx -f afaria -cs "host=127.0.0.1;port=4007;" -cr "host=111.11.11.11;https=1;port=443;url_suffix=/ias_relay_server/server/rs_server.dll;" -q -o "C:\ROSE\logs\afaria_server.log" -v 5
Relay Server
#-------------------------------------
# Relay server with auto start option
#-------------------------------------
[options]
start = no
verbosity = 5
#--------------------
# Relay server peers
#--------------------
[relay_server]
enable = yes
host = 111.11.11.11
https_port = 443
description = WROSMRS01 - Relay Server 1 Afaria Wrocław
#---------------
# Backend farms - AFARIA PRODUKCJA
#---------------
[backend_farm]
enable = yes
id = afaria
#client_security = on
#backend_security= on
description = Afaria PRODUKCJA - WROSMAFA01
[backend_farm]
enable = yes
id = enrollment-produkcja-farm
#client_security = on
#backend_security= on
description = Afaria PRODUKCJA - WROSMAFA01
#-----------------
# Backend servers - AFARIA PRODUKCJA
#-----------------
[backend_server]
enable = yes
farm = afaria
id = xxx
#token = afa.token
[backend_server]
enable = yes
farm = enrollment-produkcja-farm
id = enrollment-produkcja-server
RELAY SERVER
Relay Server is listening on https.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) Make sure the Relay Server is listening on https. IIS bindings and rs.config
2) Configure your RSOE to connect to the https port of the relay server. https=1;port=443
All set 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.