question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

customSSLCert doesn't work since appium 1.19.0

See original GitHub issue

The problem

Hello! I want to pass my custom SSL cert using cli option customSSLCert. Here is my full appium run command:

./build/lib/main.js --default-capabilities '{"isHeadless": true, "shouldUseSingletonTestManager": false, "waitForQuietness": false, "wdaStartupRetries": 3, "reduceMotion": true, "noReset": false, "waitForQuiescence": false, "fullReset": false, "platformName": "iOS", "platformVersion": "13.3", "automationName": "XCUITest", "deviceName": "iPhone 11 # 1 13.3", "wdaLocalPort": 8600, "showXcodeLog": true, "showIOSLog": true, "locationServicesEnabled": false, "customSSLCert": "-----BEGIN CERTIFICATE-----\nMIIFGTCCAwGgAwIBA....\n-----END CERTIFICATE-----"}' -p 4444

It works fine for all appium versions before 1.19.0 and I see my cert in devices settings: But since appium 1.19.0 there is no cert in my device: I also tried to pass options in format appium:customSSLCert, but It still not working. Where am I wrong?

Environment

  • Appium version (or git revision) that exhibits the issue: 1.19.0
  • Last Appium version that did not exhibit the issue (if applicable): 1.18.0
  • Desktop OS/version used to run Appium: MacOs 10.15.4
  • Node.js version (unless using Appium.app|exe): v12.18.1
  • Npm or Yarn package manager: 6.14.5
  • Mobile platform/version under test: 13
  • Real device or emulator/simulator: simulator
  • Appium CLI or Appium.app|exe: cli

Link to Appium logs

appium 1.19.0 logs https://gist.github.com/rostik404/cce46eb8258af7d08de594e3c990e4ed

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Sep 15, 2021

The patch has been merged to appium@beta

1reaction
mykola-mokhnachcommented, Sep 14, 2021

No, it must also be a bug. I’ve included both fixes into the PR above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

appium/CHANGELOG.md at master - GitHub
Cross-platform automation framework for all kinds of your apps built on top of W3C WebDriver protocol - appium/CHANGELOG.md at master · appium/appium.
Read more >
Troubleshooting - Appium
Make sure your system is set up appropriately (i.e., XCode is updated, Android SDK is installed and ANDROID_HOME is set. Make sure the...
Read more >
appium/CHANGELOG.md - UNPKG
319, are working on a workaround. Chrome sessions still work. 320, * iOS. 321, * Touch ID enrollment on simulators in Xcode 9...
Read more >
Appium Studio doesn't have latest Appium server
For mobile automation I am start exploring Appium Studio . From Logs I found that latest appium studio doesn't have latest appium server....
Read more >
Appium 1.9.0 - Katalon Studio
Katalon does not support Appium higher than 1.8.x. In Addition to that I cannot see/use my iOS Simulator devices through Katalon since I ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found