Vivek

Thursday 16 August 2012

How to Create secure TCP/IP Connection with SSL

Follow these step to  Create secure TCP/IP Connection with SSL 


1. openssl req -new -text -out server.req

Generating a 1024 bit RSA private key
........................++++++
.............................++++++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:1234567890
Verifying - Enter PEM pass phrase:1234567890
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:IN
State or Province Name (full name) [Berkshire]:Karnataka
Locality Name (eg, city) [Newbury]:Bangalore
Organization Name (eg, company) [My Company Ltd]:Center for development of advanced computing
Organizational Unit Name (eg, section) []:SENG
Common Name (eg, your name or your server's hostname) []:NKN
Email Address []:vivek.k.ray@gmail.com

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:welcome123#
An optional company name []:National Center for Software Technology

2.openssl rsa -in privkey.pem -out server.key
Enter pass phrase for privkey.pem:1234567890
writing RSA key

3.rm privkey.pem

4.openssl req -x509 -in server.req -text -key server.key -out server.crt

5.chmod og-rwx server.key


10 comments:

  1. Hi Vivek ...
    is their any way to break SSL ...

    In backtrack OS , their is a tool called sslstrip ...by using this tool can we break SSL ... Any idea?

    ReplyDelete
  2. No you can not break the SSL.

    ReplyDelete
  3. When using QuickBooks for smooth running of online small or medium-sized business, there is high chance of encountering QuickBooks Error 80029c4a. This is an unexpected error code usually occurs while you open your QuickBooks account or a QB Company file. However, this particular error code of QuickBooks can be caused by a corrupted or damaged company file. In order to eradicate this error without any hassle, you are firstly required to update the installed Antivirus program so that it prevents unwanted files from running on your system. For more detail, you can contact our one-of-the top-most tech-geeks. You can simply place a call at given toll-free number and grab fruitful fixing ways at the comfort of your home.

    ReplyDelete
  4. Nanocellulose Market size was close to USD 146.7 million in 2019 and will grow at a CAGR of 21.4% from 2020 to 2026. Rising packaging industry along with persistent need for sustainable packaging materials will boost the market over the projected timeframe. Nanocellulose has been emerged as a strong, stretchable, renewable and economical material of the future. Stringent regulations imposed by governments has prohibited non-biodegradable packaging material particularly for food industry, which will subsequently drive sustainable light weight packaging material demand.
    Also check about Monosodium Glutamate Market

    ReplyDelete
  5. It is appropriate time to make some plans for the long run and it’s time. I have read this submit and if I may I desire to suggest you some interesting. Thank you for sharing. Also visit prime poly HND application form

    ReplyDelete