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
3
votes
0 answers

Deno Deploy --cert flag

How can I add --cert flag when my project run on deno deploy? I am using deno fresh and supabase postgres. When in local environment I use --cert flag to set certificate, but in deno deploy I didn't know how to set --cert flag
Bilal Bera
  • 29
  • 2
1
vote
0 answers

requests with wincertstore python

I want to make a 'request' request, post, to a URL only that request needs to be signed. I can do it, passing the certificate in pfx and his password. But I want to do it by taking and using a certificate that is installed on the computer, on the…
Danrlei
  • 11
  • 1
1
vote
2 answers

Why "(uint8)0U" appears to the static code analysis tool as a signed operand?

When I run static code analysis it says: Bitwise operator "~" has a signed operand "(uint8)0U". How come this operand is signed while I am explicitly casting it to uint8 which is equivalent to unsigned char and also postfixing it with literal U…
1
vote
0 answers

Cert C rules errors

We are checking code against cert rule and misra I am getting: cert C issue PORTING.CAST.SIZE void EDMADrv_setupChannel (uint8_t dmaChannel, const EDMADrv_TransferCfg* ptrTransferCfg) { CSL_TpccRegs* ptrEDMATPCCRegs; uint8_t …
swethasree
  • 21
  • 3
1
vote
1 answer

cert C and misra fixes

I need to solve misra related issues and cert related issues uint8_t globalRegion; uint8_t tcc; uint16_t paramId; globalRegion = 9U; If I remove U i get misra etype assign error stating that usgined int is compared with signed value…
swethasree
  • 21
  • 3
1
vote
2 answers

Unable to renew SSL certificate using certbot

I'm trying to renew my SSL certificate in my AWS EC2 server, but I'm getting the following error so after a lot of research I couldn't find the solution. The command I run: $ sudo certbot renew --dry-run Error: Saving debug log to…
Zain Khan
  • 1,644
  • 5
  • 31
  • 67
0
votes
0 answers

UWP Certification - App Store Signing ( issue - can't sign Store Builds ) - Sideload Builds Sign - no issue

I'm trying to sign an App Store Build. Local ( side loaded builds do sign w/ password ). A message comes up during build to hit OK / Cancel and to Add new Certificate ( should be there already ) and hitting Ok ( you can enter password and get a…
0
votes
0 answers

external symbol 'test' was defined but not referenced [CERT C Recommendation MSC12-C]

Facing not referenced issue for the function prototyping using pc-lint. IDE : keil external symbol 'test' was defined but not referenced [CERT C Recommendation MSC12-C] 714 Informational The named external variable or external function was defined…
rock123A
  • 82
  • 2
  • 11
0
votes
1 answer

Where is Golang picking up root CAs from in MacOS?

I found it explaining Linux: Where is Golang picking up root CAs from? I want to understand how it's done on MacOS. Thanks.
Code Korenge
  • 333
  • 1
  • 3
  • 13
0
votes
0 answers

Using cURL to debug certifcate issue beween two servers

Our company's server communicate with another company's server via HTTPS. New certificates have been installed on both servers. Because of some issue, communication is not happening. I want to use curl command to see the cert that our server…
MTARIQ
  • 63
  • 4
0
votes
0 answers

Using same CA for all certs in Kubernetes

Is it a question as I don't have why do to/why not do to so. The question is: Is it ok to use same CA to generate certificate for website as well as generating certificates for all services like Elasticsearch, RabbitMQ ...? So, there will be…
Astin Gengo
  • 379
  • 3
  • 17
0
votes
0 answers

Get-AdfsClaimsProviderTrust Sort by Expiring Token Powershell

I am trying to display expiring SSO ADFS certificates and want to sort them by the date of expiration. Right now it is currently sorting by name. I am not familiar with these functions so any advice helps: $Trusts = Get-AdfsClaimsProviderTrust…
0
votes
0 answers

Import certificate to Personal\Certificate

I want to import a .pfx device certificate to Personal\Certificate location as a local machine. Next, I want to make sure that I do not want to expose this certificate for compromise. Currently, I am copying this to the location machine and pointing…
0
votes
0 answers

The command puppet cert list is giving an error

When I type the command puppert cert list it gives me the following error: Error: Unknown Puppet subcommand 'cert' See 'puppet help' for help on available puppet subcommands I'm using puppet version 7.23.0 on centos stream 8puppet cert list output
0
votes
0 answers

Firebase Crashlytics 'CertPathValidatorException: Trust anchor for certification path not found.' on Android Project

I am getting Firebase Crashlytics Error 'java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.'. FirebaseCrashlytics -> javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust…
1
2