Hi,
I'm trying to generate certificates over SSH from a script located on a Linux server.
I made a script that, at some point, access the domain controller via SSH where the certificate should be generated but the issue is that the user doesn't have the required permissions when access the DC over SSH.
The user used for SSH is a domain admin and running the same command directly from Powershell is working fine
This is a ping using certutil. The same result is when trying "certreq -submit. .."
ssh user@domain_controller powershell -Command "certutil -ping -config 'CA.domain'"
Connecting to CA.domain ...
Server could not be reached: The RPC server is unavailable. 0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE) -- (16ms)
I searched a lot but couldn't fine any solution.
Does anyone have any clue or advice about this?
Regards,
Adi