09-24-2008 08:05 AM
I'd like to install a 2048 bits server certificate on my sa2000 running ive os 6.3r1.
It looks like the csr the device creates are systematically 1024 bits.
Is it possible to create a 2048 certificate directly via openssl on a linux system ?
09-24-2008 08:18 AM
Have you checked the documentation on importing certs? You don't need to create a CSR first and then bring it in. You can just import a cert and the associated key. I am not in front of my box but there is a chapter called "Certificates" in the admin guide that walks you through it.
09-24-2008 10:17 AM
Sure you can. Using OpenSSL, generate a key pair, get your public key signed by a CA (or use a self signed one), and go to "Configuration -> Certificates -> Device Certificates -> Import Certificate and Key" and import the key file and certificate file (these are stored separately).
The commands look something like this:
openssl genrsa -des3 -out "C:\temp\codesign.key" 2048
openssl req -new -key "C:\temp\codesign.key" -out "C:\temp\codesign.csr"
You can use codesign.csr to get a signed cert.
Hope this helps.
06-10-2009 02:11 PM
I have a SA4000-FIPS and web interface defaults to generating certificates requests with key length 1024 bits. It does not appear to have a way to change it.
I tried srinix's advice but when I go to go to "Configuration -> Certificates -> Device Certificates ->" there is no "Import Certificate and Key" option. (that option appears only for code signing certs)
system version 6.3R3 build 13881
06-10-2009 04:13 PM
11-17-2009 02:05 PM
I am confused. I have purchased a new Cert from GoDaddy.com. I want to import it into the SSL Gateway (SA-700), but I cannot since GoDaddy only works with 2048bit keys. Why can I not get a 2048-bit CSR generated?
Muttbarker, are you saying that I can NEVER get a cert for my device?
11-17-2009 02:53 PM
What version are you running on your SA-700? I'm not sure which version Juniper added the feature, but in 6.5R1 you can select 1024 or 2048 bit for your CSR.
11-17-2009 02:58 PM
Scott - the previous thread had to do with bigger boxes running the FIPS enhanced security. Not sure I understand your question. Did you generate a CSR on the SA 700 and submit it to GoDaddy? I have not worked on the SA-700 in forever but when you generate a CSR you are supposed to have the option of selecting 1024 or 2048 bit CSR.
So where did you CSR that you submitted to Go Daddy originate from?
As far as I recall the SA 700 does not have any restrictions on generating and applying certs for the Device, only trusted server and code signing which require the core clientless license.
11-23-2009 09:39 AM
It is now possible to generate RSA-2048 CSR from IVE OS 6.5R1: IVE 6.5 Whats New
Previous releases could only do RSA-1024 when generating the CSR on the device (New CSR)
Of course for keys above 1024, you still can generate the keypair / CSR externally (e.g using openssl) and import the private key and certificates to the device from plain text files or from a pkcs12 container.
02-15-2010 09:32 AM
OpenSSL can be found at www.openssl.org - the primary site provides detailed documentation and also links to downloadable installs. If you want to run it under Windows you can either do a web search or here is a link to a directory off of the OpenSSL site that provides a Windows executable. http://www.openssl.org/related/binaries.html
The version I use runs from a Dos command box. I suppose there might be a graphical version out there somewhere.
As to how you use it - it depends on what you are trying to do with it.
02-19-2010 05:27 AM
I use XCA. it is a GUI based replacement for openSSL with a file-database. You can generate key, create certificate signing requests (CSR), build an own certificate authority (CA) and sign certificates, create certification revocation lists (CRL) for your CA and use templates for your certificates. All keys, CSR, certificates and can be im- and exported.
I use it for small PKIs and store my official certificates in the XCA database as well to keep all certificates in one place.
XCA runs on Windows and Linux and can be found at
01-25-2011 01:35 AM
How to create CSR to generate 2048 bits Certificate for SA 4000? I can not find any option to create CSR to generate 2048. Please tell me how can i solve this probleem?
Serial Number: 0153122006000079
Last Reboot: 487 days, 3 hours, 29 minutes, 44 seconds
Current version: 6.0R11 (build 14137)
Jafar Vahedi Nikbakht
01-25-2011 08:00 AM
That capability was added in a later release. Your are running 6.0. I don't have access to release notes right now but I think it was around 6.5 Check the release notes for that version.
01-26-2011 02:47 PM
First, you'll want to download openssl to generate the private key and certificate request. Once you have openssl downloaded, you can run the following command with information that pertains to your environment:
openssl req -new -nodes -subj "/C=US/ST=California/L=Sunnyvale/O=Juniper Networks/OU=TEST/CN=test.abc.com" -keyout private.txt -out certreq.txt -newkey rsa:2048
-subj is the DN information for your certificate request
-keyout is the name of the private key file
-out is the name of the certificate request file
-newkey rsa:2048 will create a 2048-bit RSA private key
Once you've submitted your request and received your public key from a CA, import the private key (private.txt) and the public key from the CA using the import certificate option in the administrator console.
01-30-2011 04:57 AM
I have an SA-4000 running 6.5R8...the latest and greatest and it does not give the ability to create a 2048-bit CSR. I also have an SA-2500 running the same code and the option is there. I can only guess since the SA-4000 is EOL, the 2048-bit isn't an option. Since these models are FIPS compliant, you also cannot go with the OpenSSL option many others are stating here.
From the Admin guide:
NOTE: This option is not available on FIPS platforms as importing private keys is not supported. On a FIPS system, you can only create a CSR and then import a signed certificate from the CSR.
01-30-2011 08:46 AM
Updated on the SA-4000. I installed 7.0R4 and it allows for 2048-bit CSR to generate certificates. I used for GoDaddy wildcard cert and it worked fine.
02-04-2011 02:38 PM
Thanks for the update, trjones. I did confirm this as well that it was resolved in 7.0R3 and 7.1R1 for SA-4000FIPS and SA-6000FIPS compliant models.