Bug 491003
Summary: | CS 8.0 Alpha -- ESC phone home specification from preds files doesn't work | ||
---|---|---|---|
Product: | [Retired] Dogtag Certificate System | Reporter: | Sean Veale <sean.veale> |
Component: | ESC | Assignee: | Jack Magne <jmagne> |
Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | unspecified | CC: | aakkiang, alee, benl, bob.lord, mharmsen |
Target Milestone: | --- | Keywords: | TechPreview |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Technology Preview | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-07-22 23:33:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 443788 |
Description
Sean Veale
2009-03-18 20:48:03 UTC
Thanks. This is something that was in 7.3 that perhaps did not make it into the alpha. Changes to implement this feature: Index: src/app/xul/esc/chrome/content/esc/ESC.js =================================================================== RCS file: /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc/ESC.js,v retrieving revision 1.21 diff -r1.21 ESC.js 56a57 > const ESC_GLOBAL_PHONE_HOME_URL= "esc.global.phone.home.url"; 295c296,301 < //Check for special key since we have no phone home info. --- > //Check for optional global phone home url. > > > if(!home) { > home = GetGlobalPhoneHomeUrl(keyType,keyID); > } 317a324,336 > //Get global phone home url if pref is set > > function GetGlobalPhoneHomeUrl(keyType,keyID) > { > > var globalIssuerURL=null; > > globalIssuerURL = DoCoolKeyGetConfigValue(ESC_GLOBAL_PHONE_HOME_URL); > > return globalIssuerURL; > > } > =================================================================== RCS file: /cvs/dirsec/esc/src/app/xul/esc/defaults/preferences/esc-prefs.js,v retrieving revision 1.6 diff -r1.6 esc-prefs.js 32,34d31 < #Do we disable the password prompt ? < < pref("esc.disable.password.prompt","yes"); 42c39 < #pref("esc.security.url","https://test.host.com:7889/cgi-bin/sow/welcome.cgi") ; --- > #pref("esc.security.url","https://test.host.com:7889/cgi-bin/sow/wel come.cgi"); 46a44,49 > > > #Use this if you absolutely want a global phone home url for all tokens > #Not recommended! > > #pref("esc.global.phone.home.url","http:/test.host.com:7888/cgi-bin/home/index .cgi"); Comment #2 +mharmsen $ cvs -d :ext:jmagne.redhat.com/cvs/dirsec commit -m "Fix for #49100 3, global phone home pref." ESC.js Enter passphrase for key '/home/jack/.ssh/id_rsa': Checking in ESC.js; /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc/ESC.js,v <-- ESC.js new revision: 1.22; previous revision: 1.21 done Running syncmail... Mailing relnotes... ...syncmail done. Running syncmail... Mailing cvsdirsec... ...syncmail done. cvs commit: Examining . Enter passphrase for key '/home/jack/.ssh/id_rsa': Checking in esc-prefs.js; /cvs/dirsec/esc/src/app/xul/esc/defaults/preferences/esc-prefs.js,v <-- esc-pr efs.js new revision: 1.7; previous revision: 1.6 done Running syncmail... Mailing relnotes... ...syncmail done. Running syncmail... Mailing cvsdirsec... ...syncmail done. Verified. esc-prefs.js file has esc.global.phone.home.url parameter, when you enter value for this and restart esc, dialog to manually enter the Phone home URL does not pop up. |