Git Product home page Git Product logo

Comments (8)

coreyfloyd avatar coreyfloyd commented on July 19, 2024

Just experienced this myself. changing to admin role also fixed it for me.

from cert.

KrauseFx avatar KrauseFx commented on July 19, 2024

I think cert should show a more meaningful error message when this occurs. Thanks for reporting!

from cert.

dfranzi avatar dfranzi commented on July 19, 2024

Is the issue here due to members requiring external approval for signing requests? Ideally, it'd be great to support member roles when running cert to download existing, approved certificates. Requiring that everyone who wants to download certificates through cert be an admin in iTC seems a bit dangerous.

A more clear error message will definitely help in the meantime, though

from cert.

yannrouillard avatar yannrouillard commented on July 19, 2024

I ran into the same problem and I proposed in #18 a tiny fix that solved the issue for me.

from cert.

KrauseFx avatar KrauseFx commented on July 19, 2024

I pushed a new beta version 0.3.0.beta1, please upgrade using

sudo gem update cert --pre

One bigger change is the default output directory now being the current working directory. You can change that by specifying your own directory using the -o option.

Could you please give it a try, as I might have introduced this issue again.

from cert.

hankbao avatar hankbao commented on July 19, 2024

It seems that a developer with member role can download his own development cert now, at least with Safari. But cert still has the issue with member role currently. Here's the output:

/Library/Ruby/Gems/2.0.0/gems/spaceship-0.15.1/lib/spaceship/portal/portal_client.rb:301:in `download_certificate': Couldn't download certificate, got this instead: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> (Spaceship::Client::UnexpectedResponse)


<html lang="en-us">
<head>
    <title>Try your request again.</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" l gen true for "http://www.apple.com" r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.apple.com" r (n 0 s 0 v 0 l 0))'>
    <meta name="Author" content="Apple Inc.">
    <meta name="viewport" content="width=1024">
    <link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/global/styles/ext/2.2/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/assets/apps/styles/asst/1.0/xtheme-developer.css" />
    <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/base.css" type="text/css" charset="utf-8">
    <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/adc.css" type="text/css" charset="utf-8">
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/lib/prototype.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/lib/scriptaculous.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/browserdetect.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/apple_core.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/search_decorator.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/adc_core.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8">
        document.write('<link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/assets/styles/script.css" media="screen">')
    </script>
</head>
<body id="error">
    <div id="globalheader">
    <h1><a href="/">Apple Developer</a></h1>
    <ul id="gh-nav">
        <li id="gh-nav-technologies"><a href="/technologies/">Technologies</a></li>
        <li id="gh-nav-resources"><a href="/resources/">Resources</a></li>
        <li id="gh-nav-devcenters"><a href="/programs/">Programs</a></li>
        <li id="gh-nav-support"><a href="/support/">Support</a></li>
        <li id="gh-nav-membercenter"><a href="/membercenter/">Member Center</a></li>
    </ul>


</div>



    <div id="content" class="box">
        <div class="cap boxtop"></div>
            <div class="msg warn">
                <h4>We are unable to process your request.</h4>
                <p>An unknown error occurred. Please <a href="index.action">try again</a>.
            </div><!--/msg-->
        <div class="cap boxbottom"></div>
    </div>

<div id="globalfooter">
    <p class="gf-buy">Shop the <a href="http://www.apple.com/store/">Apple Online Store</a> (1-800-MY-APPLE), visit an <a href="http://www.apple.com/retail/">Apple Retail Store</a>, or find a <a href="http://www.apple.com/buy/locator/">reseller</a>.</p>
    <ul class="gf-links piped">
        <li><a class="first" href="/sitemap/">Site Map</a></li>
        <li><a href="/rss/">RSS Feeds</a></li>

    </ul>
    <div class="gf-sosumi">
        <p>Copyright &copy; <script>document.write(new Date().getFullYear())</script> Apple Inc. All rights reserved.</p>
        <ul class="piped">
            <li><a href="http://www.apple.com/legal/terms/site.html" class="first">Terms of Use</a></li>
            <li><a href="http://www.apple.com/legal/privacy/">Privacy Policy</a></li>
        </ul>

    </div>
</div><!--/globalfooter-->
</body>
</html>
    from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.15.1/lib/spaceship/portal/certificate.rb:256:in `download_raw'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/lib/cert/runner.rb:125:in `store_certificate'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/lib/cert/runner.rb:39:in `block in find_existing_cert'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/lib/cert/runner.rb:38:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/lib/cert/runner.rb:38:in `find_existing_cert'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/lib/cert/runner.rb:24:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/lib/cert/runner.rb:6:in `launch'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/bin/cert:32:in `block (2 levels) in run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/bin/cert:38:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/cert-1.2.6/bin/cert:44:in `<top (required)>'
    from /usr/local/bin/cert:23:in `load'
    from /usr/local/bin/cert:23:in `<main>'

from cert.

KrauseFx avatar KrauseFx commented on July 19, 2024

Fixed #55, will be in the next release 👍

from cert.

fastlanebot avatar fastlanebot commented on July 19, 2024

This issue was migrated to fastlane/fastlane#3126. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from cert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.