Skip to main content
February 27, 2015
Question

Unable to Configure PHDS for AMS : 5.0.6 on Linux CentOS

  • February 27, 2015
  • 2 replies
  • 406 views

Hello,


1. Installed Adobe Media Server 5.0.6 Standard edition on CentOS 6.3 Linux box.

2. After installation completed, I tried to hit the URL http://server-dns/hds-vod/sample1_1500kbps.f4v.f4m to verify installation and it gives me proper XML response as mentioned below.

<manifest xmlns="http://ns.adobe.com/f4m/1.0">

  <id>sample1_1500kbps.f4v</id>

  <mimeType></mimeType>

  <streamType>recorded</streamType>

  <duration>114.61450000000001</duration>

  <bootstrapInfo profile="named" id="bootstrap5535">

  AAABq2Fic3QAAAAAAAAAFAAAAAPoAAAAAAABv7UAAAAAAAAAAAAAAAAAAQAAABlhc3J0AAAAAAAAAAABAAAAAQAAAB0BAAABZmFmcnQAAAAAAAAD6AAAAAAVAAAAAQAAAAAAAAAAAAAXcAAAAAIAAAAAAAAXdgAAC7gAAAAEAAAAAAAALuwAABdwAAAABQAAAAAAAEZiAAALuAAAAAcAAAAAAABd2AAAF3AAAAAIAAAAAAAAdU4AAAu4AAAACgAAAAAAAIzEAAAXcAAAAAsAAAAAAACkOgAAC7gAAAANAAAAAAAAu7AAABdwAAAADgAAAAAAANMmAAALuAAAABAAAAAAAADqnAAAF3AAAAARAAAAAAABAhIAAAu4AAAAEwAAAAAAARmIAAAXcAAAABQAAAAAAAEw/gAAC7gAAAAWAAAAAAABSHQAABdwAAAAFwAAAAAAAV/qAAALuAAAABkAAAAAAAF3YAAAF3AAAAAaAAAAAAABjtYAAAu4AAAAHAAAAAAAAaZMAAAXcAAAAB0AAAAAAAG9wgAAAfQAAAAAAAAAAAAAAAAAAAAAAA==

  </bootstrapInfo>

  <media streamId="sample1_1500kbps.f4v" url="sample1_1500kbps.f4v"

  bootstrapInfoId="bootstrap5535">

  <metadata>

  AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBAXKdT987ZFwAFd2lkdGgAQIQAAAAAAAAABmhlaWdodABAdgAAAAAAAAAMdmlkZW9jb2RlY2lkAgAEYXZjMQAMYXVkaW9jb2RlY2lkAgAEbXA0YQAKYXZjcHJvZmlsZQBAWQAAAAAAAAAIYXZjbGV2ZWwAQD4AAAAAAAAABmFhY2FvdAAAAAAAAAAAAAAOdmlkZW9mcmFtZXJhdGUAQD34U+JVaygAD2F1ZGlvc2FtcGxlcmF0ZQBA1YiAAAAAAAANYXVkaW9jaGFubmVscwBAAAAAAAAAAAAJdHJhY2tpbmZvCgAAAAIDAAZsZW5ndGgAQUo7sYAAAAAACXRpbWVzY2FsZQBA3UwAAAAAAAAIbGFuZ3VhZ2UCAANgYGAAAAkDAAZsZW5ndGgAQUNICQAAAAAACXRpbWVzY2FsZQBA1YiAAAAAAAAIbGFuZ3VhZ2UCAANgYGAAAAkAAAk=

  </metadata>

  </media>

</manifest>

3. Now, I tried to configure PHDS on server level by following instructions mentioned on,

http://www.adobe.com/devnet/adobe-media-server/articles/content-protection-using-phds-phls.

https://helpx.adobe.com/adobe-media-server/dev/configuring-content-protection-hds.html

4. This is what I have configured in /opt/adobe/ams/Apache2.2/conf/httpd.conf file for enabling PHDS at server level

LoadModule jithttp_module modules/mod_jithttp.so

<IfModule jithttp_module>

<Location /hds-vod>

    HttpStreamingJITPEnabled true

    HttpStreamingContentPath "../webroot/vod"

    HttpStreamingJITConfAllowed false

    JitFmsDirPath ".."

    Options -Indexes FollowSymLinks

# Uncomment the following directives to enable encryption

# for this location.

   EncryptionScope server

   ProtectionScheme phds

</Location>

</IfModule>

5. After saving /opt/adobe/ams/Apache2.2/conf/httpd.conf file, I have restarted AMS using following command

/opt/adobe/ams/server restart

6. After PHDS configuration and restarting AMS, I tried to hit the same URL http://server-dns/hds-vod/sample1_1500kbps.f4v.f4m‌ and expecting a new XML tag "drmAdditionalHeader" inside the manifest XML. But I got the error message as mentioned below

7. Below is the error logs for the same /opt/adobe/ams/Apache2.2/logs/error_log,

[Fri Feb 27 02:11:22 2015] [error] mod_jithttp [500]: [err=1] PHDS DRM configuration incorrect in "jit.conf" : PHDS is not allowed : /opt/adobe/ams/webroot/vod/sample1_1500kbps.f4v


Also, I have already configure PHDS for AMS starter edition on windows machine with the configuration mentioned above for my POC work and I can see "drmAdditionalHeader" XML tag. But the same configuration does not work on Linux Box, can you please help me out in troubleshooting this issue, since I am struggling to fixing the same from past 2 days.


Thanks,

Kaushal

This topic has been closed for replies.

2 replies

Conor Brennan
Adobe Employee
Adobe Employee
March 10, 2015

whats in the jit.conf ?

March 11, 2015

Hello,

Thank you for your reply,

Since, I have configured PHDS at server level and as per the documentation we don't required jit.conf for it.

Though, please correct me if I have done something wrong.

Thanks,

Kaushal

March 9, 2015

One more hint, when I blank out the value of 'SERVER.LICENSEINFO' property in <AMS_HOME>/conf/ams.ini and restart AMS. Then I PHDS seems to be working. I dunno why.


Anyone can help me out,


Thanks,

Kaushal