Questions tagged [cert]

For questions regarding the SEI CERT secure coding standards. Always use this tag in combination with the tag for specific technology that your question is about: C, C++, Java, Perl or Android.

The SEI CERT secure coding standards where created for the purpose of presenting safe subsets of various different programming languages. This is done by listing a number of design rules for each language, aiming to remove dangerous/insecure practices.

CERT stands for Computer Emergency Response Team, which is the name of the group of experts (CERT/CC) who developed the standards at Carnegie Mellon University.

The CERT standards are available online from the Carnegie Mellon University here:
SEI CERT Coding Standards

The CERT standards are similar to the MISRA guidelines, but CERT has more focus on security and vulnerabilities, wheras MISRA's main concern is program safety. Overall, CERT is regarded as more suitable for hosted systems and MISRA as more suitable for embedded systems, although they have many rules in common. CERT provides a cross-reference to MISRA when applicable.

Tag usage
Always use this tag in combination with the tag for specific technology that your question is about: , , , or .

Please note the scope of the respective CERT rule set. For example CERT C currently applies to ISO 9899:2011 (scope). In addition to the main language tag, you can also use tags such as for specific versions of the language if it is relevant to your question.

26 questions
0
votes
1 answer

certChain.ChainStatus and ChainElementStatus is empty or null in custom cert chain validation .net 6

we need to do a custom cert chain validation, got the code from one of the forums but in the call back certChain.ChainStatus and ChainElementStatus are empty or null. its not validating anything where chain status is there, its just…
ezycoder
  • 103
  • 2
  • 9
0
votes
0 answers

Issue with HTTPS cert on HTML Validator service

My https is working well however when i went to try run a html validator on my homepage i get an error https://validator.w3.org/check?uri=www.lynchnetworks.ie&charset=%28detect+automatically%29&doctype=Inline&group=0 is this hosting or .htaccess or…
0
votes
0 answers

Powershell and Certutil Win10 and Win7 differences - issues with -enterprise and -ImportPfx command on Win7

I am struggling with CertUtil command called from Powershell on Win 7: certutil -enterprise -f -p 'my password' -importpfx root 'mypfxfile.pfx'; It is working perfectly on Win 10 but on Win 7 it is saying that: CertUtil: Unexpected "-enterprise"…
piort
  • 29
  • 3
0
votes
2 answers

Delete any cert of certmgr without FriendlyName or

I I'm having trouble making a filter that deletes any cert that doesn't have firendlyname from my certificate store in general. Im using c# console. I tried that but it doesn't seem to be doing anything. Still not doing anything about what I want,…
Raphael
  • 21
  • 1
0
votes
0 answers

HTTP Client authentication using three .pem files (client cert, CA cert and key)

I'm trying to add a certificate to my HTTP Client (my HTTP request really) but I'm not quite sure what I'm doing. I have three files: key.pem cert.pem cacert.pem I'm aware that the cacert.pem file does not require a key since it's just the public…
Johnny Cache
  • 1,033
  • 7
  • 12
0
votes
0 answers

Extract Private Key from Certificate Store python

I can get information from the certificate by extracting it through ".get_pem()", but I need the private key too, do you know any method that allows me to extract it? with wincertstore.CertSystemStore("MY") as store: data_atual =…
Danrlei
  • 11
  • 1
0
votes
2 answers

Finding the SSL cert used for a website in Azure Kubernetes

My team inherited a 3rd party Azure software product from another company. It was migrated or moved over by someone external, and the website had been working, until The cert for our dev site in Azure has expired.. but I'm not seeing the SSL cert…
0
votes
4 answers

if/else strive for logical completeness in single return function

I'm attempting to exist at the crossroads of MISRA C and CERT C and setting the lofty goal of no exceptions. The two rules most against my normal patterns are (paraphrased): MISRA : A function should only have one return CERT : Strive for logical…
foreverska
  • 585
  • 3
  • 20
0
votes
0 answers

x509 Certificate value Base64 encode not correct output in PHP

I am trying to encode base64 for my certificate and the code I am using this: include('phpseclib1.0.20/File/X509.php'); $x509 = new File_X509(); $cert =…
MK Said
  • 165
  • 8
0
votes
0 answers

'OSError: Could not find a suitable TLS CA certificate bundle' when using tldextract

When running the program bellow, I get the error bellow. I can't figure out what the problem is, as I ran this program with no problems on my previous laptop. I was originally having problems with the pytube modue, and then I found this code which…
0
votes
1 answer

Ansible job failed because failed cert validation

I run an Ansible job on server1. This deploys an application to server2. It fails on this step: - name: Check {{ my_app }} runs at "https://{{ host }}:{{ port }}{{ endpoint }}" - returns a status 200 uri: url: 'https://{{ host }}:{{ port }}{{…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
1
2