Windows service account for mid server

pratiksha5
Mega Sage

I created a local user and added it to Logon as a service. When adding the user to the service account field in the installer, service account validation failed. 

 

Questions : What is the steps to creating the service account? (local and domain)

 

I have tried the following and it is not working 

 

(

  1. If the service account is local to the computer, you can give just the name.

Example: My_Local_Service_Account

  1. If the service account is local to the computer, you can provide “.” as the domain name for the account.

Example: .\My_Local_Service_Account

  1. Any account can follow the format {domain}\{username}.)

 

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @pratiksha5 

did you follow the instructions from the attached knowledge article?

Maik

PavanBV
Giga Guru

Hi @pratiksha5 

Try specifying the username along with the domain during the installation "Domain\UserAccount" and let me know how it goes.

pratiksha5
Mega Sage

Hi @Maik Skoddow I was able to get through the validation part. However, I am not able to see the mid server in the instance. 

 

Request not sent to uri= https://dev212.service-now.com/MIDServerCheck.do?SOAP : javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.service-now.com/GetMIDInfo" xmlns:m="http://www.service-now.com" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:execute><roles xsi:type="xsd:string">mid_server,soap,soap_script,soap_query,soap_create,soap_delete,soap_ecc,soap_script,soap_update</roles></m:execute></SOAP-ENV:Body></SOAP-ENV:Envelope>
2024-01-09T10:46:55.396+0000 ERROR (StartupSequencer) [InstanceSOAPClient:139] SOAP Response: Status code=0, Response body=null
2024-01-09T10:46:55.396+0000 WARN (StartupSequencer) [UserConfigTest:44] Could not check roles on instance: Request not sent to uri= https://dev123.service-now.com/MIDServerCheck.do?SOAP : javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (this is from the agent log)

I have added the certificates and it solved the issue. One tip for anyone who is facing a similar issue would be to create the user well in advance.