Export certificate with private key as regular user in Identity Console

Hi,

Identity Console v1.3 in docker.

Using iManager I can login as a non-admin user, and export my own certificates with the private key for use with a smartcard or yubikey for example.

I attempted to do the same with IC but when I click on Certificate management button I get a blank page and if I open the Firefox developer tools I see this error in the console:

ERROR Error: Uncaught (in promise): TypeError: this.facadeService.getTreeIPVals().get(...) is undefined
e@https://idm.acme.com:9000/identityconsole/55.7e380d8c9c0360e9c2eb.js:1:1705
3N1l/e.ɵfac@https://idm.acme.com:9000/identityconsole/55.7e380d8c9c0360e9c2eb.js:1:5066
Gn@https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1:245257
CcnG/Rl/a<@https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1:328922
Rl@https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1:328983
CcnG/t.prototype.create@https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1:372399
CcnG/Ma/n.prototype.createComponent@https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1:282547
ZYCi/e.prototype.activateWith@https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1:1160022
ZYCi/e.prototype.activateRoutes@https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1:1113575
ZYCi/e.prototype.activat…
    k https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    k https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    w https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    invokeTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    onInvokeTask https://idm.acme.com:9000/identityconsole/main.a019daef89cb825f0c6c.js:1
    invokeTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    runTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    _ https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    promise callback*y https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    scheduleTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    onScheduleTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    scheduleTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    scheduleTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    scheduleMicroTask https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    w https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    k https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    m https://idm.acme.com:9000/identityconsole/polyfills.d4a74bab4418a450ba24.js:1
    a https://idm.acme.com:9000/identityconsole/runtime.4a97bc16b417ee489594.js:1
    <anonymous> https://idm.acme.com:9000/identityconsole/55.7e380d8c9c0360e9c2eb.js:1

Is this a bug or is this by design?

Thanks

  • I see the same in Chrome

    console.log("open /identityconsole/#/certificateManagement")
    VM101:1 open /identityconsole/#/certificateManagement
    undefined
    main.a019daef89cb825f0c6c.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'forEach')
    TypeError: Cannot read properties of undefined (reading 'forEach')
        at new e (55.7e380d8c9c0360e9c2eb.js:1:1748)
        at Object.e.ɵfac [as factory] (55.7e380d8c9c0360e9c2eb.js:1:5066)
        at Gn (main.a019daef89cb825f0c6c.js:1:245257)
        at main.a019daef89cb825f0c6c.js:1:328920
        at Rl (main.a019daef89cb825f0c6c.js:1:328983)
        at t.create (main.a019daef89cb825f0c6c.js:1:372399)
        at n.createComponent (main.a019daef89cb825f0c6c.js:1:282547)
        at e.activateWith (main.a019daef89cb825f0c6c.js:1:1160022)
        at e.activateRoutes (main.a019daef89cb825f0c6c.js:1:1113575)
        at main.a019daef89cb825f0c6c.js:1:1112569
        at k (polyfills.d4a74bab4418a450ba24.js:1:13570)
        at k (polyfills.d4a74bab4418a450ba24.js:1:13094)
        at polyfills.d4a74bab4418a450ba24.js:1:14370
        at e.invokeTask (polyfills.d4a74bab4418a450ba24.js:1:7994)
        at Object.onInvokeTask (main.a019daef89cb825f0c6c.js:1:414780)
        at e.invokeTask (polyfills.d4a74bab4418a450ba24.js:1:7915)
        at t.runTask (polyfills.d4a74bab4418a450ba24.js:1:3073)
        at _ (polyfills.d4a74bab4418a450ba24.js:1:10310)
    tr @ main.a019daef89cb825f0c6c.js:1
    e.handleError @ main.a019daef89cb825f0c6c.js:1
    next @ main.a019daef89cb825f0c6c.js:1
    o @ main.a019daef89cb825f0c6c.js:1
    t.__tryOrUnsub @ main.a019daef89cb825f0c6c.js:1
    t.next @ main.a019daef89cb825f0c6c.js:1
    t._next @ main.a019daef89cb825f0c6c.js:1
    t.next @ main.a019daef89cb825f0c6c.js:1
    t.next @ main.a019daef89cb825f0c6c.js:1
    t.emit @ main.a019daef89cb825f0c6c.js:1
    (anonymous) @ main.a019daef89cb825f0c6c.js:1
    e.invoke @ polyfills.d4a74bab4418a450ba24.js:1
    t.run @ polyfills.d4a74bab4418a450ba24.js:1
    e.runOutsideAngular @ main.a019daef89cb825f0c6c.js:1
    onHandleError @ main.a019daef89cb825f0c6c.js:1
    e.handleError @ polyfills.d4a74bab4418a450ba24.js:1
    t.runGuarded @ polyfills.d4a74bab4418a450ba24.js:1
    e @ polyfills.d4a74bab4418a450ba24.js:1
    Zone.__load_patch.n.microtaskDrainDone @ polyfills.d4a74bab4418a450ba24.js:1
    _ @ polyfills.d4a74bab4418a450ba24.js:1
    Promise.then (async)
    y @ polyfills.d4a74bab4418a450ba24.js:1
    e.scheduleTask @ polyfills.d4a74bab4418a450ba24.js:1
    onScheduleTask @ polyfills.d4a74bab4418a450ba24.js:1
    e.scheduleTask @ polyfills.d4a74bab4418a450ba24.js:1
    t.scheduleTask @ polyfills.d4a74bab4418a450ba24.js:1
    t.scheduleMicroTask @ polyfills.d4a74bab4418a450ba24.js:1
    w @ polyfills.d4a74bab4418a450ba24.js:1
    k @ polyfills.d4a74bab4418a450ba24.js:1
    (anonymous) @ polyfills.d4a74bab4418a450ba24.js:1
    a @ runtime.4a97bc16b417ee489594.js:1
    (anonymous) @ 2.39b02134e951c2ddfc01.js:1
    

    Norbert