Questions tagged [cer]

In .NET Framework, a constrained execution region (CER) defines an area in which the common language runtime (CLR) is constrained from throwing out-of-band exceptions that would prevent the code in the area from executing in its entirety.

A constrained execution region (CER) is part of a mechanism for authoring reliable managed code. A CER defines an area in which the common language runtime (CLR) is constrained from throwing out-of-band exceptions that would prevent the code in the area from executing in its entirety. Within that region, user code is constrained from executing code that would result in the throwing of out-of-band exceptions. (Excerpt from the MSDN library)

56 questions
1
vote
1 answer

Can a managed process get terminated while writing to shared memory?

I have several (managed / .NET) processes communicating over a ring buffer which is held in shared memory via the MemoryMappedFile class (just memory no file mapped). I know from the SafeBuffer reference source that writing a struct to that memory…
Thomas Zeman
  • 890
  • 1
  • 7
  • 16
1
vote
0 answers

Do ConstrainedExecutionRegions do anything for servers with single AppDomain and no Thread.Abort?

I have been reading a little material about 'CER', Constrained Execution Regions and ReliabilityContracts, and it seems like these are mostly intended to be used in .Net applications where there a) might be AppDomains that are created and destroyed…
Tim Lovell-Smith
  • 15,310
  • 14
  • 76
  • 93
1
vote
2 answers

Issue with create the subject certificate name

I want to create subject certificate name which contains "," like the image Example but always fails because "," is used to separated the contain of -n parameter like “CA=CARoot,O=My Organization,OU=Dev,C=Denmark” Anyone know how to add "," into…
quan lai
  • 35
  • 5
1
vote
1 answer

curl request using a .cer

I am new to ssl and openssl. I am trying to generate a curl request using a .cer file (without using the -k or -insecure flags). After generating the .pem file, I tried to issue the POST request the following way: curl --cacert certificate.pem…
M.Q
  • 11
  • 1
  • 3
1
vote
1 answer

SSL = Cannot create certificate for IIS (Cannot create PFX file from KEY+Certificate+RootCa)

I just got 4 files from RapidSSL which I would like to use for IIS Express. To do this I need to create a PFX file. I have CSR, KEY, CERTIFICATE, ROOT/CA. Here there are: CSR => I saved it as CSR.csr -----BEGIN CERTIFICATE REQUEST----- ... hidden…
Ice.phoenix
  • 11
  • 1
  • 2
0
votes
1 answer

Get .cer SSL Certificate from Name.Com

I'm hosting a domain with Name.com she give me the CSR Response as text data and I need to convert this data to .pfx or .cer file so I can import this to my IIs server any one a tool that I can used for this purpose. as Name.com support team…
0
votes
1 answer

How to convert public and private keys to Privacy-Enhanced Mail?

The folder contains public and private keys. On my Windows operating system, I'm trying to execute this command certutil OUTPUT.pem But I am getting an error: "CertUtil: -dump command NOT EXECUTED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)". How…
wizarsi
  • 1
  • 1
0
votes
1 answer

Creating a PFX file from clear text cer and pem files

I have downloaded the latest openSSL, and have two files, a cer file and a pem file, both in clear text. pem file: Subject: CN=subdomain.domain.com,OU=User,O=ORC PKI,C=US Issuer: CN=IssueName NFI CA 6,O=ORC PKI,C=US -----BEGIN…
0
votes
1 answer

Extract public key from a PFX certificate to a .cer file with PHP OPENSSL

I'm trying to create an encryption PHP-OPENSSL module to sign data and communicate with a third-party app. I have a digital .PFX certificate (cert.pfx) for this purpose. I can open it and read it with openssl_pkcs12_read() with my passphrase. The…
user1719210
  • 310
  • 3
  • 11
0
votes
1 answer

How to generate a .pfx and .cer file on Windows

Years ago I worked on this .NET Standard project that made use of a private key (in password protected .pfx file) to sign some content, and its corresponding public key (in .cer file) to verify the signature. In code, I use .NET's X509Certificate2…
AxiomaticNexus
  • 6,190
  • 3
  • 41
  • 61
0
votes
1 answer

Signing certificate issue

I have a certificate (certificate.cer). When I select this certificate from visual studio project properties Signing tab. It generates error "Selected file does not contain a private key you must choose a certificate that contains a private key".…
Haji
  • 9
  • 1
0
votes
0 answers

how to import the .pfx file in java runtime environment?

Installing pfx in chrome is working fine, able to access the third party url.. what are steps to import pfx file in java application such that application can access the third party url?
javaLearner java
  • 109
  • 3
  • 17
0
votes
0 answers

Security certificate on a windows service

I have a developed a windows service in C#. The service sends a request to a webservice and expected to receive a response. when a send the request, i receive the below response wsse:InvalidSecurity Missing…
Lawrence
  • 485
  • 3
  • 8
  • 22
0
votes
2 answers

IIS 6 Private Key certificate access

We have a Web asp.net application running in the framework 2.0 and hosted in an IIS 6 server, and the OS is windows server 2003. The web application is suing a client certificate to be authenticated by a web service. We have impersonalized the…
gaizkile
  • 1
  • 1
  • 2
0
votes
2 answers

java.lang.IllegalArgumentException: Bad sequence size

I'm new with certificate thing, I've one scenario, need to read SSL certificate, extract that and validate the email which is specified in the certificate. for that i wrote below code, but I'm getting the java.lang.IllegalArgumentException. public…
Rajesh Narravula
  • 1,433
  • 3
  • 26
  • 54