Installed AD RMS on Windows 2016, the computer it is installed on is a DC.
3rd Party Certificate is installed and used for the service, it is also a wildcard.
I am able to get into the AD RMS Admin tool if I am on the machine it is installed, but not remotely. Gives 401 Unauthorized. Have AD RMS configured to use SSL, IIS has bindings for 80 and 443.
IIS Log:
POST /_wmcs/admin/RoleMgr.asmx - 443 - <IP> Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.42000) - 401 2 5 140
POST /_wmcs/admin/RoleMgr.asmx - 443 <UserName> 10.4.6.40 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.42000) - 401 5 0 640
When I run Test-IRMConfiguration on the Exchange 2016 server I get the following.
[PS] C:\Windows\system32>Test-IRMConfiguration -Sender <EMail Address>
Results: Checking Exchange Server ...
- PASS: Exchange Server is running in Enterprise.
Loading IRM configuration ...
- PASS: IRM configuration loaded successfully.
Retrieving RMS Certification Uri ...
- PASS: RMS Certification Uri: https://adrms.sccmha.org/_wmcs/certification.
Verifying RMS version for https://adrms.sccmha.org/_wmcs/certification ...
- PASS: RMS Version verified successfully.
Retrieving RMS Publishing Uri ...
- PASS: RMS Publishing Uri: https://adrms.sccmha.org/_wmcs/licensing.
Acquiring Rights Account Certificate (RAC) and Client Licensor Certificate (CLC) ...
- FAIL: Failed to acquire a Rights Account Certificate (RAC) and/or a Client Licensor Certificate (CLC). This failure may cause features such as Transport Decryption, Transport Protection Rules, Journal Report
Decryption,
IRM in Outlook Web App, IRM in Exchange ActiveSync, and IRM Search to not work. Make sure that the Exchange Servers Group is granted "Read" and "Read & Execute" rights on the ServerCertification.asmx
and Publish.asmx
pipelines on your AD RMS server. For details, see "Set Permissions on the AD RMS Certification Pipeline" at http://go.microsoft.com/fwlink/?LinkId=186951.
----------------------------------------
Microsoft.Exchange.Security.RightsManagement.RightsManagementException: Failed to acquire server box RAC from https://adrms.sccmha.org/_wmcs/certification/servercertification.asmx. --->
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Exception of type 'System.Web.Services.Protocols.SoapException' was thrown. ---> System.UnauthorizedAccessException: Exception of
type
'System.UnauthorizedAccessException' was thrown.
--- End of inner exception stack trace ---
at Microsoft.DigitalRightsManagement.Certification.BaseCertificationWebService.Certify(CAType caType, CertifyParams requestParameters)
at Microsoft.DigitalRightsManagement.Certification.ServerCertificationWebService.Certify(CertifyParams requestParams)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
at Microsoft.Exchange.Security.RightsManagement.SOAP.ServerCertification.ServerCertificationWS.EndCertify(IAsyncResult asyncResult)
at Microsoft.Exchange.Security.RightsManagement.ServerCertificationWSManager.EndAcquireRac(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Storage.RightsManagement.RmsClientManager.EndAcquireInternalOrganizationRACAndCLC(IAsyncResult asyncResult)
at Microsoft.Exchange.Management.RightsManagement.IRMConfigurationValidator.TryGetRacAndClc()
----------------------------------------
OVERALL RESULT: FAIL
Exchange can access and get the templates created.
[PS] C:\Windows\system32>Get-RMSTemplate
Name Description TemplateGuid
---- ----------- ------------
Confidential Recipients can only view this message. 4dc13322-1317-414b-9dc5-23def7b9f535
Do Not Forward Recipients can read this message, but they can't forward, print, or copy content. cf5cf348-a8d7-40d5-91ef-a600b88a395d
IS Log:
POST /_wmcs/certification/ServiceLocator.asmx - 443 - <IP> Windows+Rights+Management+Client - 401 2 5 0
POST /_wmcs/certification/server.asmx - 443 - <IP> Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.42000) - 200 0 0 0
POST /_wmcs/certification/servercertification.asmx - 443 - <IP> Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.42000) - 500 0 0 15
ServerCertification.asmx and Server.asmx have Anonymous and Windows Authentiction, ServiceLocator.asmx just has Windows Authentication enabled.
In the Certification folder:
Server.asmx and ServiceLocator.asmx has System (FC), AD RMS Service Group (R&E, R), Administrators [Domain] (FC), and Users [Domain] (R&E, R) for NTFS permissions.
ServerCertification.asmx has System (FC), AD RMS Service Group (R&E, R), SharePoint Service Account (R&E, R), Exchange Servers (R&E, R), Administrators [Domain] (FC), and Users [Domain] (R&E, R) for NTFS permissions.
In the Licensing folder:
Publish.asmx has System (FC), AD RMS Service Group (R&E, R), Exchange Servers (R&E, R), Administrators [Domain] (FC), and Users [Domain] (R&E, R) for NTFS permissions.
When I try to RMS from Outlook or another Office program to protect it ... it will first want to connect and get templates, once clicking on this it will ask for Username / Password. If given it will continue to ask for the information until you hit cancel.
The process will lock out the account as well if done enough.
IIS Logs:
POST /_wmcs/certification/ServiceLocator.asmx - 443 - <IP> MSIPC;version=1.0.2456.0;AppName=OUTLOOK.EXE;AppVersion=16.0.4756.1001;AppArch=amd64;PID=7244;OSName=Windows;OSVersion=10.0.14393;OSArch=amd64 - 401 2 5 0
POST /_wmcs/certification/ServiceLocator.asmx - 443 - <IP> MSIPC;version=1.0.2456.0;AppName=OUTLOOK.EXE;AppVersion=16.0.4756.1001;AppArch=amd64;PID=7244;OSName=Windows;OSVersion=10.0.14393;OSArch=amd64 - 401 2 5 15
GET /_wmcs/certification/ServiceLocator.asmx - 443 - <IP> MSIPC;version=1.0.2456.0;AppName=WINWORD.EXE;AppVersion=16.0.4756.1000;AppArch=amd64;PID=9244;OSName=Windows;OSVersion=10.0.14393;OSArch=amd64 - 401 2 5 0
POST /_wmcs/certification/ServiceLocator.asmx - 443 - <IP> MSIPC;version=1.0.2456.0;AppName=WINWORD.EXE;AppVersion=16.0.4756.1000;AppArch=amd64;PID=9244;OSName=Windows;OSVersion=10.0.14393;OSArch=amd64 - 401 2 5 0
POST /_wmcs/certification/ServiceLocator.asmx - 443 - <IP> MSIPC;version=1.0.2456.0;AppName=WINWORD.EXE;AppVersion=16.0.4756.1000;AppArch=amd64;PID=9244;OSName=Windows;OSVersion=10.0.14393;OSArch=amd64 - 401 2 5 0
POST /_wmcs/certification/ServiceLocator.asmx - 443 - <IP> MSIPC;version=1.0.2456.0;AppName=WINWORD.EXE;AppVersion=16.0.4756.1000;AppArch=amd64;PID=9244;OSName=Windows;OSVersion=10.0.14393;OSArch=amd64 - 401 2 5 0
Have ran the RMSAnalyzer as RMS Admin, for active address it reads it from AD, when I select it the program will detect and auto populate the General Information and Service Endpoints (Internal, External, and Group). It will pass SCP is registered and get
Templates from RMS, however it fails on perform group membership checks.
On the client machine that requests RMS it looks as if the Machine cert will be processed as the CERT-Machine.drm and CERT-Machine-2048.drm are present but not the RAC or CLC (i presume they should be there from the research I have done).
I believe this is a permissions issue somewhere but I can find out where. From all the information I have read on this, the permissions are what they should be and it somewhat works, but not fully.
Any assistance with this would be very helpful.