How do I validate if a certificate got installed in the streaming session configured in SessionScripts ?

0

I need a Certificate to be installed before running the application in streaming instance. I have configured it in the Session Script (config.json) as part of the SessionStart. I am getting error related to app launch failure in streaming instance. How do I validate if the certificate got installed in the streaming session ? e.g.

{ "SessionStart": { "executables": [ { "context": "system", "filename": "C:\script\InstallCert.bat", "arguments": "", "s3LogEnabled": true }, { "context": "user", "filename": "", "arguments": "", "s3LogEnabled": true } ], "waitingTime": 30 }

질문됨 2년 전300회 조회
1개 답변
0

The easiest way would be to use Desktop view on the fleet to check the Windows certificate store to see if the certificate is there. You can also use the CertMgr tool to programmatically add, delete, or list certificates. Since you're using an image and not an Elastic fleet, have you tested the script running with admin privileges (or SYSTEM) on an image builder to validate it installs the certificate and private key successfully?

Since you're using a bat file, most likely any errors that occur are being written to stdout - the session scripts folder will have a text file of the error, and that error will be uploaded to the logs S3 bucket. Have you checked those logs?

전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠