Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[match] doesn't renew expired certificate automatically #21848

Open
4 tasks done
aamagda opened this issue Feb 1, 2024 · 2 comments
Open
4 tasks done

[match] doesn't renew expired certificate automatically #21848

aamagda opened this issue Feb 1, 2024 · 2 comments

Comments

@aamagda
Copy link

aamagda commented Feb 1, 2024

New Issue Checklist

Issue Description

Once the old certificate expires match doesn't renew it automatically.
Fixed only by manually deleting the expired certificate from match git repository and running match again.
Same issue like this #10724

[11:11:42]: -------------------
[11:11:42]: --- Step: match ---
[11:11:42]: -------------------

+--------------------------------------------------------------------------------------------+
| Summary for match 2.219.0 |
+----------------------------------------+---------------------------------------------------+
| storage_mode | git |
| git_url | https://github.com/OwnerName/RepoName |
| git_basic_authorization | ******** |
| type | development |
| app_identifier | ["com.AppName"] |
| force_for_new_devices | true |
| username | emailName@sample.com |
| api_key | ******** |
| readonly | false |
| generate_apple_certs | true |
| skip_provisioning_profiles | false |
| team_id | *** |
| git_branch | master |
| shallow_clone | false |
| clone_branch_directly | false |
| skip_google_cloud_account_confirmation | false |
| s3_skip_encryption | false |
| gitlab_host | https://gitlab.com/ |
| keychain_name | login.keychain |
| keychain_password | ******** |
| force | true |
| include_mac_in_profiles | false |
| include_all_certificates | true |
| force_for_new_certificates | true |
| skip_confirmation | false |
| safe_remove_certs | false |
| skip_docs | false |
| platform | ios |
| derive_catalyst_app_identifier | false |
| fail_on_name_taken | false |
| skip_certificate_matching | false |
| skip_set_partition_list | false |
| verbose | false |
+----------------------------------------+---------------------------------------------------+

[11:11:42]: Cloning remote git repo...
[11:11:42]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
[11:11:43]: Checking out branch master...
[11:11:43]: 🔓 Successfully decrypted certificates repo
[11:11:43]: Verifying that the certificate and profile are still valid on the Dev Portal...
[11:11:43]: Creating authorization token for App Store Connect API
+---------------------------------------+
| Lane Context |
+---------------+-----------------------+
| PLATFORM_NAME | ios |
| LANE_NAME | ios upload_testflight |
+---------------+-----------------------+
[11:11:44]: Your certificate '9S33T2MKV4.cer' is not valid, please check end date and renew it if necessary

Environment

🚫 fastlane environment 🚫

Stack

Key Value
OS 13.3.1
Ruby 2.7.4
Bundler? true
Git git version 2.37.1 (Apple Git-137.1)
Installation Source ~/github-runner-mac-3-2/_work/mono-front/mono-front/services/uikit-rn-service/vendor/bundle/ruby/2.7.0/bin/fastlane
Host macOS 13.3.1 (22E261)
Ruby Lib Dir ~/.rvm/rubies/ruby-2.7.4/lib
OpenSSL Version OpenSSL 1.1.1s 1 Nov 2022
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 14.1
Swift Version 5.7.1

System Locale

Error
No Locale with UTF8 found 🚫

fastlane gems

Gem Version Update-Status
fastlane 2.219.0 ✅ Up-To-Date

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-versioning_android 0.1.0 🚫 Update available
fastlane-plugin-firebase_app_distribution 0.3.6 🚫 Update available

Loaded gems

Gem Version
did_you_mean 1.4.0
rake 13.1.0
rexml 3.2.5
CFPropertyList 3.0.5
concurrent-ruby 1.2.0
i18n 1.12.0
minitest 5.17.0
tzinfo 2.0.6
zeitwerk 2.6.6
activesupport 6.1.7.2
public_suffix 4.0.7
addressable 2.8.1
httpclient 2.8.3
json 2.5.1
algoliasearch 1.27.5
artifactory 3.0.15
atomos 0.1.3
aws-eventstream 1.3.0
aws-partitions 1.881.0
aws-sigv4 1.8.0
jmespath 1.6.2
aws-sdk-core 3.190.3
aws-sdk-kms 1.76.0
aws-sdk-s3 1.142.0
babosa 1.0.4
bundler 2.3.13
claide 1.1.0
fuzzy_match 2.0.4
nap 1.1.0
netrc 0.11.0
ffi 1.15.5
ethon 0.16.0
typhoeus 1.4.0
cocoapods-core 1.11.3
cocoapods-deintegrate 1.0.5
cocoapods-downloader 1.6.3
cocoapods-plugins 1.0.0
cocoapods-search 1.0.1
cocoapods-trunk 1.6.0
cocoapods-try 1.2.0
colored2 3.1.2
escape 0.0.4
fourflusher 2.3.1
gh_inspector 1.1.3
molinillo 0.8.0
ruby-macho 2.5.1
nanaimo 0.3.0
xcodeproj 1.22.0
cocoapods 1.11.3
colored 1.2
highline 2.0.3
commander 4.6.0
declarative 0.0.20
digest-crc 0.6.5
domain_name 0.6.20240107
dotenv 2.8.1
emoji_regex 3.2.3
excon 0.109.0
faraday-em_http 1.0.0
faraday-em_synchrony 1.0.0
faraday-excon 1.1.0
faraday-httpclient 1.0.1
multipart-post 2.3.0
faraday-multipart 1.0.4
faraday-net_http 1.0.1
faraday-net_http_persistent 1.2.0
faraday-patron 1.0.0
faraday-rack 1.0.0
faraday-retry 1.0.3
ruby2_keywords 0.0.5
faraday 1.10.3
http-cookie 1.0.5
faraday-cookie_jar 0.0.7
faraday_middleware 1.2.0
fastimage 2.3.0
jwt 2.7.1
multi_json 1.15.0
os 1.1.4
signet 0.18.0
googleauth 1.8.1
mini_mime 1.1.5
trailblazer-option 0.1.2
uber 0.1.0
representable 3.2.0
retriable 3.1.2
google-apis-core 0.11.3
google-apis-androidpublisher_v3 0.54.0
google-apis-playcustomapp_v1 0.13.0
google-cloud-env 1.6.0
google-apis-iamcredentials_v1 0.17.0
google-apis-storage_v1 0.31.0
google-cloud-errors 1.3.1
google-cloud-core 1.6.1
google-cloud-storage 1.47.0
mini_magick 4.12.0
naturally 2.2.1
optparse 0.4.0
plist 3.7.1
rubyzip 2.3.2
security 0.1.3
simctl 1.6.10
terminal-notifier 2.0.0
unicode-display_width 2.5.0
terminal-table 3.0.2
tty-screen 0.8.2
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.1
fastlane-plugin-firebase_app_distribution 0.3.6
fastlane-plugin-versioning_android 0.1.0
@aamagda aamagda changed the title match doesn't renew expired certificate automatically [match] doesn't renew expired certificate automatically Feb 1, 2024
@lacostej
Copy link
Collaborator

lacostej commented Feb 2, 2024

I believe #21691 addresses this. It was merged and will be part of the next release. CC @nekrich.

@lacostej
Copy link
Collaborator

Well we disabled the feature for the next release with #21812, but it will come back very soon when #21809 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants