Skip to content

Commit 84dab9a

Browse files
committed
updated Apple Code Signing Cert for macOS installer
1 parent 3be32ee commit 84dab9a

File tree

4 files changed

+46
-8
lines changed

4 files changed

+46
-8
lines changed

.github/workflows/CI-full.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
sudo mkdir /usr/local/deploy
3333
sudo chmod 777 /usr/local/deploy
3434
cd /usr/local/deploy
35-
scp ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE}:${VCELL_DEPLOY_REMOTE_DIR}/deploy_dir_2023_07_30.tar .
35+
scp ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE}:${VCELL_DEPLOY_REMOTE_DIR}/deploy_dir_2025_03_18.tar .
3636
cd ..
37-
sudo tar -xvf deploy/deploy_dir_2023_07_30.tar
37+
sudo tar -xvf deploy/deploy_dir_2025_03_18.tar
3838
sudo chmod 777 -R deploy
3939
- name: Set up Python
4040
uses: actions/setup-python@v5

.github/workflows/site_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ jobs:
5959
sudo mkdir /usr/local/deploy
6060
sudo chmod 777 /usr/local/deploy
6161
cd /usr/local/deploy
62-
scp ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE}:${VCELL_DEPLOY_REMOTE_DIR}/deploy_dir_2023_07_30.tar .
62+
scp ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE}:${VCELL_DEPLOY_REMOTE_DIR}/deploy_dir_2025_03_18.tar .
6363
cd ..
64-
sudo tar -xvf deploy/deploy_dir_2023_07_30.tar
64+
sudo tar -xvf deploy/deploy_dir_2025_03_18.tar
6565
sudo chmod 777 -R deploy
6666
- name: setup config
6767
run: |
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Creating a Code Signing Certificate (.p12) from an Apple Developer ID Application Certificate
2+
3+
This guide provides step-by-step instructions to create a code signing certificate (.p12) from an Apple Developer ID Application certificate. This certificate is used to code sign your app for distribution outside of the Mac App Store Connect.
4+
5+
## Steps
6+
7+
### 1. Generate a Certificate Signing Request (CSR)
8+
1. Open the Keychain Access application on your Mac.
9+
2. From the menu bar, select `Keychain Access` > `Certificate Assistant` > `Request a Certificate from a Certificate Authority...`.
10+
3. Enter your email address and common name. Leave the CA Email Address field blank.
11+
4. Select `Saved to disk` and `Let me specify key pair information`.
12+
5. Click `Continue` and save the CSR file to your disk.
13+
14+
### 2. Request the Developer ID Application Certificate
15+
1. Go to the [Apple Developer](https://developer.apple.com/) website and log in with your Apple ID.
16+
2. Navigate to `Certificates, Identifiers & Profiles`.
17+
3. Under `Certificates`, click the `+` button to create a new certificate.
18+
4. Select `Developer ID Application` and click `Continue`.
19+
5. Upload the CSR file you generated in step 1 and click `Continue`.
20+
6. Download the generated certificate (`.cer` file) to your disk.
21+
22+
### 3. Import the Certificate into Keychain Access
23+
1. Double-click the downloaded `.cer` file to import it into Keychain Access.
24+
2. The certificate should appear in the `My Certificates` category.
25+
26+
### 4. Export the Certificate as a .p12 File
27+
1. In Keychain Access, locate the imported certificate under `My Certificates`.
28+
2. Right-click the certificate and select `Export`.
29+
3. Choose a location to save the file and select the `Personal Information Exchange (.p12)` format.
30+
4. Enter a name for the file and click `Save`.
31+
5. You will be prompted to create a password for the .p12 file. Enter a strong password and click `OK`.
32+
6. Enter your Mac user account password to allow the export.
33+
34+
### 5. Verify the .p12 File
35+
1. Ensure the .p12 file is saved at the specified location.
36+
2. You can use this .p12 file for code signing your applications.
37+
38+
By following these steps, you will have created a .p12 code signing certificate from an Apple Developer ID Application certificate.

docker/swarm/generate_installers.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ echo " -e compiler_bioformatsJarDownloadURL=$VCELL_BIOFORMATS_JAR_URL \\"
9090
echo " -e compiler_applicationId=$VCELL_CLIENT_APPID \\"
9191
echo " -e winCodeSignKeystore_pfx=/buildsecrets/VCELL_UCONN_MS_2017.pfx \\"
9292
echo " -e winCodeSignKeystore_pswdfile=/buildsecrets/VCELL_UCONN_MS_2017_pswd.txt \\"
93-
echo " -e macCodeSignKeystore_p12=/buildsecrets/VCELL_APPLE_2015.p12 \\"
94-
echo " -e macCodeSignKeystore_pswdfile=/buildsecrets/VCELL_APPLE_2015_pswd.txt \\"
93+
echo " -e macCodeSignKeystore_p12=/buildsecrets/Apple_Dev_Id_Certificate_exp_20270924.p12 \\"
94+
echo " -e macCodeSignKeystore_pswdfile=/buildsecrets/Apple_Dev_Id_Certificate_exp_20270924_pswd.txt \\"
9595
echo " -e Install4J_product_key_file=/buildsecrets/Install4J_product_key_10.txt \\"
9696
echo " -v $PWD/generated_installers:/outputdir \\"
9797
echo " -v ${VCELL_DEPLOY_SECRETS_DIR}:/buildsecrets \\"
@@ -113,8 +113,8 @@ if ! sudo docker run --rm --cpus="1.0" \
113113
-e compiler_applicationId="$VCELL_CLIENT_APPID" \
114114
-e winCodeSignKeystore_pfx=/buildsecrets/VCELL_UCONN_MS_2017.pfx \
115115
-e winCodeSignKeystore_pswdfile=/buildsecrets/VCELL_UCONN_MS_2017_pswd.txt \
116-
-e macCodeSignKeystore_p12=/buildsecrets/VCELL_APPLE_2015.p12 \
117-
-e macCodeSignKeystore_pswdfile=/buildsecrets/VCELL_APPLE_2015_pswd.txt \
116+
-e macCodeSignKeystore_p12=/buildsecrets/Apple_Dev_Id_Certificate_exp_20270924.p12 \
117+
-e macCodeSignKeystore_pswdfile=/buildsecrets/Apple_Dev_Id_Certificate_exp_20270924_pswd.txt \
118118
-e Install4J_product_key_file=/buildsecrets/Install4J_product_key_10.txt \
119119
-v "$PWD"/generated_installers:/outputdir \
120120
-v "${VCELL_DEPLOY_SECRETS_DIR}":/buildsecrets \

0 commit comments

Comments
 (0)