In C#, when using HttpClient, how can I connect to the https server that is using either self-signed certificate (for testing) or a custom CA that is not part of the machine's trust-store? Note that I m not needing client certificates, only need…
I use SRV solution in my puppet architecture. When trying to setup a new puppet master and CA and view my certificates I get this error:
puppetserver ca list --all
Fatal error when running action 'list'
Error: Failed connecting to…
I have a certificate received from client. In my server application I need to check if the received certificate is a CA or User certificate. I am currently using mbedTLS library for implementing security. There is an example already to check this…
Hello everybody :)I'm facing an issue with ssl dual authentication on haproxy, my root and intermediate CA are concatained in once, my client certificate is OK and the openssl verify returns OK (verification of client certificate against CA)
openssl…
I am trying to load a .pem file into Inputstream and then trying to generateCertificates. But, I am getting 0 certificates. Whereas my .pem file has various certifcates. Below is the code I am using:
try{
AssetManager am = mContext.getAssets();
…
I implemented a set of microservices in a docker enviornment. And each of these services communicate with each other using JWT tokens. When service A calls to service B
Service A, sign the token using his private key and pass to service
B
service…
From a result of security scan program, I have a need to restrict the Certificate Authorities the app trusts.
The scan result points out the line at webView.loadUrl("https://example.com/page");. I see how I can create a SslSocketFactory that uses my…
I have difficulties to understand the ordering of the attributes (AttributeTypeAndValue) in the RDN (RelativeDistinguishedName).
Here are the relevant ASN.1 definitions (taken from www.in2eps.com):
TBSCertificate
TBSCertificate ::= SEQUENCE {
…
I added self signed certificate in .pem format in Firefox under Authorities tab. When I access site, Firefox throws error
mozilla_pkix_error_ca_cert_used_as_end_entity
It says that the certificate is not trusted because it is self signed. What…
I need to create a X509 certificate with Bouncy Castle that serves as CA certificate.
The certificate will be added manually to the trusted CA list of web browsers. It will be used to sign server certificates.
How do I do this?
Apart from the usual…
we're doing a freeipa install using our existing CA. During the install, a CSR is generated and must be signed by the CA to create a certificate. This certificate must have
X509v3 Basic Constraints:
CA:TRUE
I have been…
I know the user can view the trusted CA certificates installed on the device looking into: settings > security > trusted CA certificates.
Do you if (and how) from inside my application I can get the list of CA certificates installed by the user?
I have the following code that attempts to verify a server certificate against the CA in my private PKI. Its used with ServicePointManager and RemoteCertificateValidationCallback:
static bool VerifyServerCertificate(object sender, X509Certificate…
In order to use private npm registry I am trying to setup credentials and ca certs in project's .npmrc file .
like following:
ca[]= # NOTE this needs to string in double quotes, with newlines replaced be \n
ca[]= # NOTE…
I read some posts (that don't exist anymore) and came up with the following code that generates a PFX certificate. It works fine to the part of creating this self-signed certificate.
I'm trying to expand this to crate a self-signed certificate and…