The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure.

Technote (troubleshooting)


Problem(Abstract)

When activating via Interviewer Server Administration the following error message occurs :

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure.

Diagnosing the problem

The problem was with the values for StartURL and BalanceURL properties in DPM.  Those properties were set to use a URL containing the server name when they should have been using HTTPS and the fully qualified domain name.

Resolving the problem

To resolve the problem, you need to change the values for StartURL and BalanceURL for all applicable applications in DPM. You can either do this manually throough DPM Explorer by navigating to the following location:

<Site Name> | Servers |  <SERVER_NAME> | Applications | Webactivate | ApplicationSettings | Instances | <INSTANCE_NAME>

Or the following script can be copied and pasted into a .mrs script and run using either Professional or using the mrScriptCL.exe command-line utility. Edit the script as indicated to make it appropriate for your environment. Run this script once on any Accessories tier server:


' Script to replace the machine name created by the install with the fully qualified domain
'name that needs to be used
' Lines marked with 3 asterisks (***) need to be customized to the current
'cluster environment

Dim servername, newservername, dpmuser, dpmpassword

servername = "baseservername" ' *** name of server used during install
newservername = "server.domain.com" ' *** fully-qualified domain name to that same server
dpmuser = "dpmadmin" ' *** user name of an admin user to DPM
dpmpassword = "dpmadmin" ' *** password for that user

Dim oAgent

'*** Update this section with login details for DPM server
Set oAgent = CreateObject("SPSSMR.DPM.Security.Login.Agent2")
oAgent.ConnectToDPMServer(servername)
oAgent.Login(dpmuser, dpmpassword, NULL)

Dim apps, appscan, propscan, propscan2

Set apps = oAgent.Server.Applications
For appscan = 1 to apps.Count
If FindItem(apps[appscan].ApplicationSettings, "Instances") is not null Then
Set propscan = apps.Item(appscan).ApplicationSettings.Item("Instances")
For Each propscan2 in propscan.Value
propscan2.Value.Item("StartUrl").Value = Replace(propscan2.Value.Item("StartUrl").Value, servername, newservername)
propscan2.Value.Item("BalancerUrl").Value = Replace(propscan2.Value.Item("BalancerUrl").Value, servername, newservername)
Next
End If
Next


Rate this page:

(0 users)Average rating

Document information


More support for:

SPSS Data Collection
Interviewer Server Administration

Software version:

6.0.1

Operating system(s):

Windows

Reference #:

1569794

Modified date:

2012-08-07

Translate my page

Machine Translation

Content navigation