Comments (8)
Just experienced this myself. changing to admin role also fixed it for me.
from cert.
I think cert
should show a more meaningful error message when this occurs. Thanks for reporting!
from cert.
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.
I ran into the same problem and I proposed in #18 a tiny fix that solved the issue for me.
from cert.
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.
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 © <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.
Fixed #55, will be in the next release
from cert.
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)
- Error: account_manager.rb:61:in `ask_for_login': uninitialized constant HOT 3
- Could not find the newly generated certificate installed (RuntimeError) if WWDR Intermediate is missing HOT 3
- Can cert just download the existing certificates? HOT 3
- Unable to download Provisioning Profile HOT 2
- Crash 3c85c1f6662e251634e0f52738024c07: cert does not handle 302 response from Apple Server HOT 3
- Find correct development certificate HOT 2
- Error when contacting https://developerservices2.apple.com/services/QH65B2/listTeams.action "Your session has expired. Please log in." HOT 4
- Cert doesn't prevent codesign from prompting to be allowed to sign. HOT 1
- Cert doesn't import certs previously requested from the output path if the P!2 is there. HOT 3
- Option to specify existing Private Key HOT 6
- Couldn't creating a new certificate HOT 13
- Force to download a certificate with fastlane HOT 4
- undefined method `message' HOT 2
- Default behavior with force flag set to false? HOT 3
- Unable to specify a specific certificate to use HOT 1
- Could not find the newly generated certificate installed HOT 4
- Could not find the newly generated certificate installed HOT 1
- Certificate not found HOT 8
- Couldn't download certificate, got this instead: HTTP 405 Method Not Allowed HOT 16
- Couldn't find an existing certificate... creating a new one HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cert.