Skip to content

Commit

Permalink
Merge pull request #217 from openziti/fix-update-keystore-after-enrol…
Browse files Browse the repository at this point in the history
…lment

fix-update-keystore-after-enrollment
  • Loading branch information
ekoby authored Aug 29, 2024
2 parents bda152a + 88c6c9a commit 9cab91c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/org/openziti/mobile/TunnelModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ class TunnelModel(

future.thenApply { cfg ->
val keyAlias = cfg.id.key.removePrefix("keychain:")
Keychain.updateKeyEntry(keyAlias, cfg.id.cert, cfg.id.ca)
loadConfig(keyAlias, cfg)
}.exceptionally {
Log.e("model", "enrollment failed", it)
Expand Down

0 comments on commit 9cab91c

Please sign in to comment.