-
1. Re: Need help installation and configuration
Hiroshi@Adobe Aug 29, 2013 6:05 AM (in response to oeann)I don't quite understand what do you want to know.
Do you want to know how to create DRM protected video by using Adobe Access? For which video format?
Do you want to know how to install a license server that used for DRM protected content?
What exactly you want to do with FMS and Adobe Access?
Thanks,
Hiroshi
-
2. Re: Need help installation and configuration
oeann Aug 29, 2013 6:18 AM (in response to Hiroshi@Adobe)Thank you for your response, may I express unpopular that I speak French ...
The documentation states:
Step 1: Prerequisites
You need:
Two Computers (Windows or Linux). Will one computer act as License Server, Content Server 1 will be.
Tomcat 6.0.18 installed on Both machines.
Java 1.6 installed on Both machines.
So my question is about what is required to access adobe.
As I said I already have a server centos 64 bits.
On this server I have apache on IP, adobe fms on another, as well as my website with video content on another IP.
FMS I just used to make online recording.
I want to install adobe Access to protect progressive http content (contained in the server accessible by the IP of the website)
Why prerequisite speak of two machines?
Two Computers (Windows or Linux). Will one computer act as License Server, Content Server 1 will be.
I can not even install Access on my machine? Required to have two? -
3. Re: Need help installation and configuration
Hiroshi@Adobe Aug 29, 2013 7:02 AM (in response to oeann)I think you don't have to use two machines. Maybe it's just a best practise.
Thanks,
Hiroshi
-
4. Re: Need help installation and configuration
oeann Aug 29, 2013 7:14 AM (in response to Hiroshi@Adobe)ok then i appreciate a lot your help and response..
but can you help me again with the step for installation?
i dont see any doc for install java and tomcat in centos 5
the i dont understand very well the documentation with adobe access.....
i make all step for certificate
but i need help with java and tomcat...........
if you can help me with this...
-
5. Re: Need help installation and configuration
Hiroshi@Adobe Aug 29, 2013 7:26 AM (in response to oeann)Okay, the question is more generic.
Can you google it? You will find some information on the web. Maybe even in French.
Thanks,
Hiroshi
-
6. Re: Need help installation and configuration
oeann Aug 29, 2013 7:32 AM (in response to Hiroshi@Adobe)i know..
yes i make some research... i have install java 1.6
and the installation OK:
whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1.gz
then next step tomcat.
I dont understand the adobe doc for this.
i see i have this (donwload adobeaccess sdk)
Third Party/Tomcat/6.0.18 ...
then i must copy this file in my server? or make installation same than this link?
http://www.rackspace.com/knowledge_center/article/centos-tomcat-6
then you see that im little lost....
-
7. Re: Need help installation and configuration
Hiroshi@Adobe Aug 30, 2013 8:10 AM (in response to oeann)Either way is okay. You can copy it from SDK, or you can use the way the link explaining.
BTW, I recommend to use an adobe access reference implementation license server. It has more feature than protected stream server.
Thanks,
Hiroshi
-
8. Re: Need help installation and configuration
oeann Sep 1, 2013 7:13 AM (in response to Hiroshi@Adobe)Thanks a lot Hiroshi,
I am grateful for your help .
I finally managed to install Tomcat, I had some difficulty changing the port but it is functional.
Now I'm the documentation to protect my content http progressive download . Is what is the correct documentation for what I want to do? http://www.adobe.com/support/adobeaccess/pdfs/server/AdobeAccess_4_ProtectedStreaming.pdf
I do a test to see with the example: Reference Implementation / Sample Video Players / Desktop / Flash Player / Release / player.html
With TVP to check my metadata i receive this:
Metadata received at Sat 31 Aug 0400 6:33:44 GMT- 2013
Start to load metadata at Sat 31 Aug 0400 6:33:43 GMT- 2013
Player mode changed to TVP
Player Initialized !
Player mode changed to SVPAnd how SVP I get for a short second and then DMR protected :
DRM Error: 3305 [ ServerConnectionFailed ]
Load http://xx.xx.xx.xx:8090/Content/test.mp4I do not know if I 've forgotten what I think so ....
I am not able either to pass the verification step ...
I have this error :
java -jar libs / flashaccess - validator.jar -g- r / opt / tomcat / licenseserver /
Validating global deployment ...
Validating partition deployment - flashaccessserver ...
Validating into deployment - flashaccessserver / sampletenant ... Failed to validate deployment into ' flashaccessserver / sampletenant ' - Error re ading credential at index # 0 under element Tenant.Credentials.LicenseServerCred ential for partition = ' flashaccessserver ' into = ' sampletenant '
See log for details :
( / tmp/temp650827072250571550133614580491732/flashaccessserver/flashaccess-partit ion.log )
Indicated in the log is this:2013-08-31 12:52:13,659 INFO [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.context.SimpleContex tFactory] Creating class loader for partition 'flashaccessserver' with libraries '[file:/opt/tomcat/licenseserver/flashaccessserver/libs/, file:/opt/tomcat/licenseserver/flashaccessserver/libs/flashaccess-license-server-ext-samp le.jar]'
2013-08-31 12:52:13,931 ERROR [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.tools.Validator] Failed to validate tenant deployment 'flashaccessserver/sampletenant'
com.adobe.flashaccess.server.common.configuration.ConfigurationException: Error reading credential at index # 0 under element Tenant.Credentials.LicenseServerCredential for partition='flashaccessserver', tenant='sampletenant'
at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $CryptographyImpl.readCredentials(TenantConfigurationImpl.java:644)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $CryptographyImpl.<init>(TenantConfigurationImpl.java:549)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl .<init>(TenantConfigurationImpl.java:114)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.CommonsConfigurationBas edFactory.getTenantConfiguration(CommonsConfigurationBasedFactory.java:90)
at com.adobe.flashaccess.server.license.tools.Validator.validateTenantDeployment(Validator.j ava:255)
at com.adobe.flashaccess.server.license.tools.Validator.validatePartitionDeployment(Validato r.java:283)
at com.adobe.flashaccess.server.license.tools.Validator.validateGlobalDeployment(Validator.j ava:301)
at com.adobe.flashaccess.server.license.tools.Validator.process(Validator.java:173)
at com.adobe.flashaccess.server.license.tools.Validator.main(Validator.java:117)
Caused by: java.io.FileNotFoundException: /opt/tomcat/licenseserver/flashaccessserver/tenants/sampletenant (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at com.adobe.flashaccess.server.common.configuration.deployment.filebased.UpdatableFileSyste mResource.getResourceAsStream(UpdatableFileSystemResource.java:99)
at com.adobe.flashaccess.server.common.configuration.deployment.filebased.UpdatableFileSyste mResource.getResourceAsStream(UpdatableFileSystemResource.java:75)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $CryptographyImpl.readCredentialFromFile(TenantConfigurationImpl.java:674)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $CryptographyImpl.readCredentials(TenantConfigurationImpl.java:617)
... 8 more
And this in normal that i dont see CLASSPATH in tomcat?
Shutting down tomcat: Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64
done.
Can you help me with this? i appreciate your help..
then today make some change and the error is different....:
[] 2013-09-01 16:09:46,541 INFO [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.context.SimpleContex tFactory] Creating class loader for partition 'flashaccessserver' with libraries '[file:/opt/tomcat/licenseserver/flashaccessserver/libs/, file:/opt/tomcat/licenseserver/flashaccessserver/libs/flashaccess-license-server-ext-samp le.jar]'
[] 2013-09-01 16:09:46,715 ERROR [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.tools.Validator] Failed to validate tenant deployment 'flashaccessserver/sampletenant'
com.adobe.flashaccess.server.common.configuration.ConfigurationException: Error reading configuration file
at com.adobe.flashaccess.server.license.configuration.commonsadapter.Constants.parseTenantCo nfigurationStream(Constants.java:139)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl .<init>(TenantConfigurationImpl.java:110)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.CommonsConfigurationBas edFactory.getTenantConfiguration(CommonsConfigurationBasedFactory.java:90)
at com.adobe.flashaccess.server.license.tools.Validator.validateTenantDeployment(Validator.j ava:255)
at com.adobe.flashaccess.server.license.tools.Validator.validatePartitionDeployment(Validato r.java:283)
at com.adobe.flashaccess.server.license.tools.Validator.validateGlobalDeployment(Validator.j ava:301)
at com.adobe.flashaccess.server.license.tools.Validator.process(Validator.java:173)
at com.adobe.flashaccess.server.license.tools.Validator.main(Validator.java:117)
Caused by: org.apache.commons.configuration.ConfigurationException: Unable to load the configuration
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:863)
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:821)
at com.adobe.flashaccess.server.license.configuration.commonsadapter.Constants.parseTenantCo nfigurationStream(Constants.java:134)
... 7 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 121; columnNumber: 16; cvc-complex-type.2.4.b: The content of element 'KeyServer' is not complete. One of '{"http://licenseserver.flashaccess.adobe.com/tenant":File}' is expected.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Error HandlerWrapper.java:198)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.jav a:134)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav a:387)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav a:321)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportErro r(XMLSchemaValidator.java:421)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchema Validator.java:3186)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexT ype(XMLSchemaValidator.java:3162)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType(XML SchemaValidator.java:3109)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent(XMLSc hemaValidator.java:3011)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement(XMLSchemaV alidator.java:2154)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidat or.java:822)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XML DocumentFragmentScannerImpl.java:1759)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri ver.next(XMLDocumentFragmentScannerImpl.java:2915)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImp l.java:625)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScanne rImpl.java:116)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:488)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:819)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:748)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.jav a:288)
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:855)
... 9 more
when try validate with:
java -jar libs/flashaccess-validator.jar -g -r licenseserver/
-
9. Re: Need help installation and configuration
Hiroshi@Adobe Sep 3, 2013 7:14 AM (in response to oeann)Did you configure the server with valid credential files?
--
Adobe Access credentials
To issue valid licenses accepted by a Adobe Access client, the Adobe Access Server for Protected Streaming must be configured with a set of credentials issued by Adobe. These credentials can either be stored in PKCS#12 (.pfx) files or on an HSM.
The .pfx files may be located anywhere, but for ease of configuration, we recommend placing the .pfx files in the tenant's configuration directory. For more information, see "License server configuration files".
--
-
10. Re: Need help installation and configuration
oeann Sep 3, 2013 8:15 AM (in response to oeann)Thanks Hiroshi for your reply...
yes i have a good config for this i receive my license and make all step to produce a pfx file
i generate with scrambler tswo password for transport and certificate.
i dont i have a wrong config... but i dont know where..
my folder like this::
opt/tomcat/
licenseserver
flashaccessserver
libs
tenants
sampletenant
certificate-trial.pfx
flashaccess-tenant.xml
flashaccess-global.xml
( i not set anything in global xml its OK?)
this is the same pfx file for transport and certificate in flashaccess-tenant.xml?
my flashaccess-tenant.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Required: Top level configuration element. Associated attributes MUST NOT BE CHANGED.
-->
<Configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://licenseserver.flashaccess.adobe.com/tenant">
<!--
Required: Tenant configuration details
-->
<Tenant>
<!-- All settings related to the License Server's compatibility with other Flash Access
components will go here. This element is required.
The 'minSupportedClientVersion' attribute is optional and defaults to "1".
It dictates which versions of the client should be supported by the license server,
for this tenant. If the client version is found to be less, the server will respond
with error code REQ_UNSUPPORTED_VERSION_NEED_UPGRADE.
If the client satisfies the version requirement, the license will be issued. The following
version # mappings should be used:
1 (for 2.0)
2 (for 2.0.2)
3 (for 3.0)
4 (for 4.0)
-->
<CompatibilitySettings
minSupportedClientVersion="1"/>
<!--
Required: Credentials configuration
-->
<Credentials>
<!--
Required: Credentials used to sign/encrypt messages to/from clients
Several credentials - "File" or "Key" or both - can be provided,
as illustrated below.
The first credential is used to encrypt the license key response, and will
be used first in an attempt to decrypt the license requests. The
remaining credentials, if specified, are attempted (in the order specified)
to decrypt license requests if they were encrypted with older credentials.
-->
<TransportCredential>
<!--
File-based credential, containing a private key and certificate(s).
Both "path" and "password" are required attributes. 'path' must be at
least 3 characters long. 'password' must be encrypted using the
'Scrambler.bat' utility provided.
Note that the path can be absolute or relative. If it is relative,
it is calculated relative to the folder containing this configuration
file. Absolute paths are supported to ease sharing of credentials
across tenants.
-->
<File
path="certificate-trial.pfx"
password="l5v3zBNMXaDtaDWz+ZrABxaC+MAgfUrn"/>
<!--
HSM (PKCS11-based) credential. HSM connectivity is configured
via flashaccess-global.xml. This entry specifies the credential
alias, as stored in the HSM.
-->
<!-- <Key certAlias="[TRANSPORT_CERT_ALIAS]"/> -->
</TransportCredential>
<!--
Required: Several credentials can be specified here, following the examples
provided.
The first credential will be used to sign the license key response, and will
be used first in an attempt to decrypt the license keys. The remaining
credentials, if specified, are attempted (in the order specified) to decrypt
the license keys if they were encrypted by the packager using older credentials.
-->
<LicenseServerCredential>
<!--
File-based credential, containing a private key and certificate(s).
Both "path" and "password" are required attributes. 'path' must be at
least 3 characters long. 'password' must be encrypted using the
'Scrambler.bat' utility provided.
Note that the path can be absolute or relative. If it is relative,
it is calculated relative to the folder containing this configuration
file. Absolute paths are supported to ease sharing of credentials
across tenants.
-->
<File
path="certificate-trial.pfx"
password="OxnLaFYEuqyz78D79QrruBU954YyGUSc"/>
<!--
HSM (PKCS11-based) credential. HSM connectivity is configured
via flashaccess-global.xml. This entry specifies the credential
alias, as stored in the HSM.
-->
<!-- <Key certAlias="[SERVER_CERT_ALIAS]"/> -->
</LicenseServerCredential>
</Credentials>
<!--
Optional: Certificate configuration
-->
<Certificates>
<!--
Required if metadata specifies that a Key Server is required for delivery to iOS clients.
Key Server's License Server certificate, used for key token generation.
-->
<KeyServer>
<!--
Note that the path can be absolute or relative. If it is relative,
it is calculated relative to the folder containing this configuration
file. Absolute paths are supported to ease sharing of packager certs
across tenants.
-->
<!-- <File path=""/> -->
</KeyServer>
</Certificates>
........
does i need make other seetings?
and in my tomcat catalina does i need config someting for access?
and in this flashaccess-refimpl.properties i set:
config.resourcesDirectory=[/opt/tomcat/lib/resources]
HandlerConfiguration.ServerTransportCredential.password=[l5v3zBNMXaDtaDWz+ZrABxaC+MAgfUrn]
LicenseHandler.ServerCredential=/opt/tomcat/licenseserver/flashaccessserver/tenants/sample tenant/certificate-trial.pfx
LicenseHandler.ServerCredential.password=[OxnLaFYEuqyz78D79QrruBU954YyGUSc]
V2KeyParameters.LicenseServerUrl=http://xx.xx.xx.xx:8090
# License Server Certificate, issued by Adobe
V2KeyParameters.KeyOptions.AsymmetricKeyOptions.Certificate=/opt/tomcat/licenseserver/flas haccessserver/tenants/sampletenant/certificate-trial.pem
# Server transport certificate, issued by Adobe
V2KeyParameters.LicenseServerTransportCertificate=/opt/tomcat/licenseserver/flashaccessser ver/tenants/sampletenant/certificate-trial.pem
and why in logs tell me this? The content of element 'KeyServer' is not complete.
in the docs not tell to set this...
Edit corresponding tenant configuration under the configuration folder hierarchy
(
<TomcatInstallDir>\licenseserver\flashaccessserver\tenants\sampletenant\flashaccess-tenant .xml
), with these
minimal settings:
Configuration|Tenant|Credentials|TransportCredential|File|path=<filename-transport-
credential-PFX>
Configuration|Tenant|Credentials|TransportCredential|File|password=<scrambled-
transportcredential-password>
Configuration|Tenant|Credentials|LicenseServerCredential|File|path=<fielname-license-
servercredential-PFX>
Configuration|Tenant|Credentials|LicenseServerCredential|File|password=<scrambled-
license-servercredential-password>
thanks a lot to help me again....I'm a little desperate to run Access ...
-
11. Re: Need help installation and configuration
oeann Sep 4, 2013 5:17 AM (in response to oeann)hello, then i have success with this:
java -jar libs/flashaccess-validator.jar -g -r /o
Validating global deployment ...
Validating partition deployment - flashaccessserver...
Validating tenant deployment - flashaccessserver/sampletenant...
Loading custom class: com.adobe.flashaccess.server.license.extension.auth.sample.SampleAuthorizer ...Success!
Success!
But i have always the same error when i check my mp4
in my link: http:/xx.xx.xx.xx:8090/Content/test.mp4
with http:/xx.xx.xx.xx:8090/player/player.html comme with the example source
DRM Error: 3305[ServerConnectionFailed]
and nothing appear in logs files...
i dont understand why....
i check firefox debugger and i see this:
url request: http://xx.xx.xx.xx:8090/Content/test5.mp4
Method: GET
Status: 200 OK
url request: http://xx.xx.xx.xx:8090/flashaccess/getServerVersion/v3
Method: POST
Status: 404 Not Found
url request: http://xx.xx.xx.xx:8090/flashaccess/getServerVersion/v1
Method: POST
Status: 404 Not Found
then i copy flashaccess.war in webapps tomcat
and stop and start tomcat
http://xx.xx.xx.xx:8090/flashaccess/getServerVersion/v3
give me:
HTTP Status 404 - Servlet RefImplGetServerVersionReqHandler is not available
and
http://xx.xx.xx.xx:8090/flashaccess/getServerVersion/v1
HTTP Status 404 - /flashaccess/getServerVersion/v1
type Status report
message /flashaccess/getServerVersion/v1
description The requested resource (/flashaccess/getServerVersion/v1) is not available.
i found this in logs but i enter the good password (scrambler)
SEVERE: Allocate exception for servlet RefImplGetServerVersionReqHandler
javax.servlet.UnavailableException: Error decoding the password for HandlerConfiguration.ServerTransportCredential.password Bad password encountered. Please use ScrambleUtil.class to encrypt the password
at com.adobe.flashaccess.refimpl.util.ParamsReader.unscramble(ParamsReader.java:140)
at com.adobe.flashaccess.refimpl.util.ParamsReader.loadServerCredential(ParamsReader.java:15 1)
at com.adobe.flashaccess.refimpl.util.ParamsReader.buildHandlerConfiguration(ParamsReader.ja va:354)
at com.adobe.flashaccess.refimpl.web.RefImplAbstractReqHandlerServlet.init(RefImplAbstractRe qHandlerServlet.java:74)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:679)
Message was edited by: oeann
-
12. Re: Need help installation and configuration
Eric.H Sep 11, 2013 3:19 PM (in response to oeann)Hello,
Are you using a linux machine?
If so, then your tenant configuration file may have hidden carriage returns and line feeds that Windows inserts and Linux hates.
Can you try to convert your configuration file (flashaccess-tenant.xml) to Unix format? Something like this explains how to do it: http://linuxcommando.blogspot.com/2008/05/delete-windowsdos-carriage-return.html
cheers,
/Eric.




