• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Auto select client certificate on certain domains (AutoSelectCertificateForUrls on Chrome)?

    Opera for Mac
    2
    5
    5274
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3ntity
      3ntity last edited by

      Hi,
      For accessing certain domains, I have to use a client certificate to authenticate myself. Whenever I visit these domains, I am forced to choose the certificate manually before being allowed to continue. This is the sort of popup I get (clipped not to show personal info): 0_1517238310991_Screen Shot 2018-01-29 at 15.04.42.png

      On Chrome, you can set a default called 'AutoSelectCertificateForUrls' to automatically select the certificate for specific domains (see https://www.chromium.org/administrators/policy-list-3#AutoSelectCertificateForUrls). Is there a similar option in Opera?

      I have tried the following command (MacOS), but no success (tho the same command works fine for Chrome, using com.google.Chrome):

      • defaults write com.operasoftware.Opera.plist AutoSelectCertificateForUrls -array-add -string '{"pattern":"https://<domain>","filter":{"ISSUER":{"CN":"EXAMPLE_CN"}}}'

      Any help would be greatly appreciated!
      Thanks

      Reply Quote 0
        1 Reply Last reply
      • 3ntity
        3ntity last edited by leocg

        could any of you provide input into this? Is this simply not possible at the moment?

        Reply Quote 0
          1 Reply Last reply
        • 3ntity
          3ntity last edited by

          The command:
          defaults write com.operasoftware.Opera AutoSelectCertificateForUrls -array-add -string '{"pattern": "<url_pattern>", "filter":{"ISSUER":{"CN":"EXAMPLE_CN"}}'
          runs OK, and I see the entry in the defaults when I run
          defaults read com.operasoftware.Opera
          ... but the cert doesn't get automatically selected - any ideas to get this to work?

          Reply Quote 0
            1 Reply Last reply
          • A Former User
            A Former User last edited by

            I thought this is a chrome feature...
            In Chrome it works fine, in Vivaldi it works fine (writing to domain com.vivaldi.Vivaldi), however for Opera I haven't had luck so far (wrote to com.operasoftware.OperaNext as I'm using the beta, see https://forums.opera.com/topic/11657/how-to-disable-auto-update-in-the-macos-version-for-those-who-need-that/3)
            Really annoying/unusable in corporate environments where client authentication is the default for most internal sites ...

            Reply Quote 0
              1 Reply Last reply
            • 3ntity
              3ntity last edited by

              Yep, it means I've switched to an alternative browser for cert-authenticated sites. Chrome and Firefox both handle auto-selecting certs (in FF it's just a switch in the settings).

              If anyone figures out how to get this working for Opera, please do share!

              Reply Quote 0
                1 Reply Last reply
              • First post
                Last post

              Computer browsers

              • Opera for Windows
              • Opera for Mac
              • Opera for Linux
              • Opera beta version
              • Opera USB

              Mobile browsers

              • Opera for Android
              • Opera Mini
              • Opera Touch
              • Opera for basic phones

              • Add-ons
              • Opera account
              • Wallpapers
              • Opera Ads

              • Help & support
              • Opera blogs
              • Opera forums
              • Dev.Opera

              • Security
              • Privacy
              • Cookies Policy
              • EULA
              • Terms of Service

              • About Opera
              • Press info
              • Jobs
              • Investors
              • Become a partner
              • Contact us

              Follow Opera

              • Opera - Facebook
              • Opera - Twitter
              • Opera - YouTube
              • Opera - LinkedIn
              • Opera - Instagram

              © Opera Software 1995-