How to fix Audit track issue in Open edX certificate - openedx

I have setup the certificate to following https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/named-release-cypress/configuration/enable_certificates.html URL.
When I try to generate the certificate then I am getting the following error message.
Your enrollment: Audit track
You are enrolled in the audit track for this course. The audit track does not include a certificate.
Error Image

Upadate "mode" field in TABLE edxapp.student_courseenrollment

Related

Unknown error generating App-Specific Shared Secret

I am working on setting up remote receipt validation for IAP and I need to generate an App-Specific Shared Secret. My account has admin privileges, however, when I click to generate the secret I get the error There was a problem retrieving the data for this page. Please try again.
This error is pretty useless and does not tell me how to fix the issue. I have reached out to Apple Developer support but have not gotten a response back. If anyone has had similar issues any help would be great!

iOS AWS SNS Create platform application fail with error "There was an error reading the selected certificate."

After downloading my certificate from the apple developer portal, I successfully create a p12 file but whenever I try to create a platform application on aws, enter the certificate password, I just keep getting the error below.
There was an error reading the selected certificate. Verify the
password and try again.
I have tried with short and no passwords but nothing seems to accept the password.
Any ideas?
I was able to make this work, by doing the following:
Delete all old keys related to previous attempts in your Keychain > login (macos)
Request a new certificate from Request Certificate from Authority. Make sure no keys are selected when you execute this function.
I chose a single word in lowercase for Common name.
Add certificate to Apple Developer Portal
Download the CSR
Double click on the CSR to import the keys into your Keychain.
Your private key should have a dropdown with the certificate listed. My previous attempts did not have this. Export the p12.
The p12 worked in AWS SNS when entering the password, the public and private keys were extracted from the p12.

Cannot create new version of existing self-signed and CA signed certificate on Azure KeyVault

I'm new to Azure KeyVault. I'm trying to create a new version of self-signed and CA signed certificates and first I got a message saying it was successfully created but while refreshing the page, the new version doesn't show up. Another attempt on adding new version shows me this error
RAW ERROR
A new key vault certificate can not be created or imported while a pending key vault certificate's status is inProgress
I have given it a day for the new version of the certificate to show but nothing shows up.
Normally, it may take some time to create a new version of self-signed certificate:
When the states is complete, your new version certificate will show up:
Version list:
It seems to be a temporary error. I suggest you create a new certificate and try again. If the error persists, you may contact the Azure support team. They would be able to help you further by checking the resource.

Invalid certificate (CSR)

I generate .certSigningRequest file via Keychain Access (Keychain Access -> Certificate Assistant -> Request a Certificate From a Certificate Authority..., I fill in my mail and I save it to disk).
When I log into Apple developer account and try to generate Certificate with it I get message: "Invalid CSR - Invalid Certificate"
I did this number of times previously with my previous Mac but it is not working on my new system.
What am I doing wrong? I have followed exact steps https://help.apple.com/developer-account/#/devbfa00fef7
I think this is a Apple error. you just need to simply refresh the website again and again or need to use another browser.
Just forgot to input 'Common name' in Certificate Assistant form.
So, make sure you filled
User Email Address
Common Name
Saved on disk check

Duplicate item when saving certificate identities in the iOS Keychain

I'm trying to figure out what exactly means the status code errSecDuplicateItem for the SecItemAdd method when trying to add a certificate identity to the iOS keychain.
Reading the iOS documentation, it only says that this status code means the item is duplicated in the keychain, but what is the criteria to determine if an identity is a duplicate? Issuer name? Expiration date? Both?
If you read to the Mac OSX documentation, the discussion section for a similar method says the following:
If the certificate has already been added to the specified keychain,
the function returns errSecDuplicateItem and does not add another copy
to the keychain. The function looks at the certificate data, not at
the certificate object, to determine whether the certificate is a
duplicate. It considers two certificates to be duplicates if they have
the same primary key attributes.
I know there is a difference, I'm trying to save the certificate identity in the keychain, and this discussion is for the SecCertificateAddToKeychain method which saves the certificate; but I believe there is a connection.
What's the meaning of "primary keys attributes"?
I tried adding the same identity twice and of course I get the errSecDuplicateItem, but I'm afraid that users may get an error if they want to update the certificate in someway I'm not considering.
Any thoughts?
Thanks in advance
As far as I know, the keychain's primary key attributes aren't documented. However, according to a message from Ken McLeod, certificates are identified by their certificate type, issuer, and serial number. The keychain will refuse to accept more than one certificate that has the exact same values for these attributes.
Certificate authorities are required not to issue two certificates with the same serial number, so this error is unlikely to happen for your users. If you're generating certificates yourself, you must also make sure you do not accidentally reuse serials.

Resources