Closed
Bug 824199
Opened 12 years ago
Closed 12 years ago
Replace the marketplace-dev cert with the marketplace-prod test cert in Gecko
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
People
(Reporter: briansmith, Assigned: briansmith)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
(deleted),
patch
|
rtilder
:
review+
|
Details | Diff | Splinter Review |
Note: This will cause installation of packaged apps from marketplace-dev to stop working unless/until the marketplace-dev cert is loaded into the user profile certificate database. I filed bug 824198 about allowing marketplace-dev to continue working.
Unfortunately, most PSM peers (including me) are gone for the holidays, so I am not sure who can review this patch. Since this is B2G-only and urgent, I will let anybody from the broader apps team who can verify that the certificate matches the certificate being used on the prod server r+ the patch.
Note that this patch modifies the test_signed_apps-marketplace.js testcase to replace the marketplace-dev test app with a prod-cert-signed app.
An alternative to replacing the marketplace-dev cert with the prod (test) cert is to just have BOTH of them live in Gecko temporarily. To do that, look at the instructions in Gecko's security/build/b2g-certdata.mk and adjust them to something like:
1. Replace ./b2g-app-root-cert.der with the new DER-encoded root cert for the marketplace-prod.
2. Add ./b2g-dev-app-root-cert.der with the new DER-encoded root cert marketplace-dev.
3. In this directory run:
PATH=$NSS/bin:$NSS/lib addbuiltin -n "b2g-app-root-cert" -t ",,Cu" \
< b2g-app-root-cert.der > b2g-certdata.txt
PATH=$NSS/bin:$NSS/lib addbuiltin -n "b2g-dev-app-root-cert" -t ",,Cu" \
< b2g-app-root-cert.der >> b2g-certdata.txt
4. Commit the changes.
Yet another possibility is to have the people who need to test marketplace-prod use the scripts I am going to attach to bug 824198 to import the marketplace-prod cert into their phones themselves, and then wait until PSM people become available again.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #695088 -
Flags: review?(rtilder)
Updated•12 years ago
|
blocking-basecamp: ? → +
Updated•12 years ago
|
Target Milestone: --- → B2G C4 (2jan on)
Updated•12 years ago
|
Blocks: market-packaged-apps
Updated•12 years ago
|
Whiteboard: [poked Bill W. for alternate reviewer if need be]
Comment 2•12 years ago
|
||
Comment on attachment 695088 [details] [diff] [review]
Replace the marketplace-dev cert with the marketplace-prod test cert in Gecko
Review of attachment 695088 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good with the extensions.
Attachment #695088 -
Flags: review?(rtilder) → review+
Updated•12 years ago
|
Whiteboard: [poked Bill W. for alternate reviewer if need be]
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
status-b2g18:
--- → fixed
Assignee | ||
Updated•12 years ago
|
Comment 5•12 years ago
|
||
Closing per work week checkin policy - inbound + b2g18 = resolved fixed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
Flags: in-testsuite+
Updated•12 years ago
|
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•