Showing posts with label Miscellaneous. Show all posts
Showing posts with label Miscellaneous. Show all posts

Wednesday, January 11, 2017

Chrome issue : ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Chrome issue: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

If you get this error while hitting an URL in chrome, it means the recently Updated Chrome version doesn't support SSLv3 protocol.
So if you Use an older version of Chrome or Firefox, you won't get this error. This is Browser's error which occurs only when
there is some problem at client side while establishing private connection to a secure site and this error is related to “SSL Certificate” security.

Solution:
Temporary at client side:
1) Use older version of Chrome or Mozilla, remove recently updated version.
2) Open "chrome://flags" in Chrome URL and search for SSL, then change the drop down option to support SSLv3.

Permanently:
1) Since your application is running in an Application Server (Web Server). Make the "sslProtocols" change and CIPHERs change. 
   The below change is for JBOSS server (open JBOSS/server/YOUR_MODULE/deploy/jboss-web-deployer/server.xml) and modify below changes as:
   
  <Connector port="6443" address="${jboss.bind.address}" SSLEnabled="true"  
         maxThreads="250" maxHttpHeaderSize="8192"
         emptySessionPath="false" protocol="HTTP/1.1" scheme="https" secure="true"
         enableLookups="false"  acceptCount="100"
         connectionTimeout="20000" disableUploadTimeout="true" server=" "
         clientAuth="false" keystoreFile="${jboss.server.home.dir}/conf/servercerts" keystorePass="*******" 
         sslProtocols="TLSv1,TLSv1.1,TLSv1.2" ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, 
         TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
         TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,
         TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
         TLS_RSA_WITH_AES_128_CBC_SHA256,
         TLS_RSA_WITH_AES_128_CBC_SHA,
         TLS_RSA_WITH_AES_256_CBC_SHA256,
         TLS_RSA_WITH_AES_256_CBC_SHA,
         SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA" />

    Save the file and restart the Application Server. Issue will be resolved.         

Thursday, August 30, 2012

Kill a Process in Windows

Dear friends,
This time I am writing a common article, how to kill a process which is running
on a port in Windows machine.
 
In Unix it is quite easier by using below commands:

ps -eaf | grep PROCESS_NAME
kill -9 PROCESS_ID (returned from above command)

But in Windows it is quite strange, see below:


D:\Sandbox\jboss-4.2.3.GA\bin>netstat -o -n -a | findstr 9092
  TCP    0.0.0.0:9092           0.0.0.0:0              LISTENING       7620
  TCP    127.0.0.1:9092         127.0.0.1:53616        ESTABLISHED     7620
  TCP    127.0.0.1:53616        127.0.0.1:9092         ESTABLISHED     7620
  TCP    [::]:9092              [::]:0                 LISTENING       7620

D:\Sandbox\jboss-4.2.3.GA\bin>taskkill /F /PID 7620
SUCCESS: The process with PID 7620 has been terminated.

D:\Sandbox\jboss-4.2.3.GA\bin>

Wednesday, June 27, 2012

Secure a Private Folder and Hide it in Windows

Dear reader,

Today I found a link to:
1) Secure a folder using a password and hide it. It won't be visible in "Show Hidden files 
   and Folder" option in Folder settings.
2) Convert a folder as "Recycle Bin", "Internet Explorer" kind of icons and secure it
   using password so that no one can see the content.

This is quite simple, just using notepad. Tested in Windows environment.

These stuffs you might be knowing as these are hacking techniques, however I am pasting the 
link of these two stuffs.

This below one is written by my college batchmate, branchmate:
http://www.cyberpetals.in/2012/06/how-to-secure-folder-using-notepad.html


This below one, I got by googling:
http://pakwing.com/tips-and-tricks/cmd-tips-and-tricks/convert-any-folder-into-my-computer-recycle-bin-internet-explorer-or-control-panel


----------------END-----------------

Thursday, April 26, 2012

Puzzles


Dear readers, While going through different sites, came to see an interesting site on puzzles. It is really interesting, please have a look here: http://worksheets.theteacherscorner.net/make-your-own/brain-teasers/

Tuesday, January 31, 2012

History of Riots in India post Independence

Dear reader,

I wanted to post an article which is published in a daily national news paper in India.
It is about "History of Riots" in India by various political parties. Though I was not born before "1982"
but by reading history books and news papers, I came to know about these aswell.
Also I just wanted to add a phrase here: in India, constitution treats all the communities as equal and
hence all the communities take equal partition in communal disturbances :-)
And so the name is RIOT.
However if you see Hard liner countries like Pakistan, Bangladesh, where minorities are always
getting suppressed/strangled and I name this as Communal JYADATI (word in Hindi) or One sided clash where minority
members can't even think to retaliate.

However most such clashes are politically motivated and for vote bank and so no comment on this. We humans
have always a tendency to fight and reveal our EGO this way....

History | Political government who were there in Power in State
====== | =====================================================
2002_|_RIOT, a Result of Train burning in_Godhra_Gujarat as written below|Many people_Killed_|_BJP_|_CM___MODI_|
2002_|_Train burning by one community triggers full flown RIOT in Gujarat State |
1992_93_witnessed_riots_in_Maharshtra_|_The_chief_ministers_were_Congressmen_|
OCT_1990_|_riots_in_patna_Bihar_|_18_killed_|__CONGress_|_CM___Jagan_Mishra_|

1989__90_|_Bhagalpur_Bihar_violence_|_896_killed_|__CONGress_|_CM___Jagan_Mishra_
Oct_1990_|_violence_in_Beawar__Maharshtra_|___CONGress_|_CM___Sharad_Pawar
OCT_1990_|_Violence_in_HailaKandi_Assam_|_37_killed_|__AGP_|_CM_Prafulla_mahanta
OCT_1990_|_violence_in_Delhi_ChandniChowk_|_100 _Killed_|__Janta_Dal_

APR_MAY_1990_|_violence_in_KANPUR_|_30_killed_|__Janta_Dal_|_CM__Mulayam_yadav_
Novemeber_1990_|_violence_in_Agra_|_33_killed_|__Janta_Dal_|_CM__Mulayam_yadav
Oct_1990_|_violence_in_Lucknow__UP_|_33_Killed_|__Janta_Dal_|_CM__Mulay_yadav
1990__1991_|_Gujarat_riots__Around_270_killed_|__Janta_Dal_&_Cong_|_CM__Chiman_Patel_
March_1989_|_violence_in_Bhadrak_,_Orissa_|__CONGress_|_CM__JB_Patnaik

Sept_1989_|_violence_in_Kota_,_Rajasthan_|__CONGress_|_CM__SC_Mathur_
OCt_1989_|_violence_in_Indore_|_27_killed_|__CONG_|_CM_ML_Vohra_
Apr_May_1987_|_violence_in_Meerut_,_UP_|_81_killed_|__CONG_|_CM__VB_Singh
July_1986_|_violence_in_Ahmedabad_|_59_Killed_|__CONG_>_
April_1985_|_riots_in_Ahmedabad_|_300_Killed_|__CONG_

OCT_1984_|_riots_in_Delhi_|_2733_Killed_|__CONG_1984_witnesses_anti_Sikh_riots_in_Delhi|__happened_to_be_CONgress_|
May1984_|_riots_in_Bhiwandi_|_146_Killed_,_611_Inj_|__CONGress_|_CM__Vasandada_Patil_|_
Sept_1983_|_riots_in_Hyderabad_|_45_killed_|__TDP_|_Chief_Min__NTR_
October_1983_|_violence_in_HazariBagh_|__CONGress_|_CM__Chandrashekhar_Singh
June_1983_|riots_again_in_Malegoan_Maharshtra_|__CONGress_|_CM__Vasantdada_patil_
May_1983_|_riots_in_Malur_Karnataka_|__Janta_|_CM___Mr_hegde_

Dec_1982_|_riots_in_Baroda_|__Congress_|_CHief_Min_Mr_Solanki_
Sept_1982_|_riots_in_Meerut_,_UP_|__Congress_,_CM_Sripaty_Mishra_
April_1981_|_riots_in_BiharSharif_Bihar_|_Around_80_Killed_|__CONGress_
Auguest_1980_|_Moradabad_riots_|_Approx_2000_Killed_|__Congress_
April_1979_|_riots_in_Jamshedpur_,_West_Bengal_|_More_than_125_killed_|__CPIM
Sept_1978_|_riots_in_Hyderabad_|_19_Killed_|__CONg_

Oct_1978_|_violence_in_Aligarh_,_UP_|_30_Killed_|__Janta_Party_|_Non_called_it_|_
March_1978_|_riots_in_Sambhal_,_UP_|_25_killed_|__Janta_party
1977_|_Varanasi_Riots_|__Janta_|_Non_called_it_|
May_1970_|_Mahad_Maharshtra_riots_|__CONG_ 1970_|_riots_in_Jalgoan_Maharshtra_|_43_killed_|__was_CONG_
1970_|_Bhiwandi_riots_in_Maharashtra_|_Around_80_killed_|__CONg

1969_|_riots_in_Ahmedabad_|_More_than_512_Killed_|__happened_to_be_CONG
March_1968_|_around_100_killed_in_KarimGanj_Assam_|__again_CONG_
August_1967_|_200_Killed_|_riots_in_Ranchi_|_Party_ruling_again_CONG_
1964_riots_in_Rourkela_&_Jamshedpur_|_2000_Killed_|__CONG_ 1947_riots_in_Bengal_|_5000_Killed_|__happened_to_be_CONG

Taken from link: http://timesofindia.indiatimes.com/india/Buhkari-communal-Anna-violent-Diggy/articleshow/11693116.cms

Thursday, December 8, 2011

Acre, Metre and Foot Conversion guide

Dear Reader,
Adding some contents here which is a land measurement on 
Acre, Foot and Metre. It definitely will help you.
========================================================
1 Acre = 43560 Sq.Foot

1 Metre = 3.280 Feet
1 Foot  = 0.3048 Metre (1.0/3.280).
1 Square Metre = 10.76 Sq.Feet (3.28 * 3.28 = 10.76)

1 Square Feet = 0.09290304 Square Metre (0.3048 mtr * 0.3048 mtr)  
1000 Square Feet = 92.903 Square Metre

1 Cubic Metre = 35.3 Cubic Feet (3.28 * 3.28 * 3.28)

1 Foot = 30.48 Centimeters
1 Square Feet = 929.03 Centimeters (30.48 * 30.48 = 929.03) 

1 Square Yard = 0.836 Square Metre
1 Square Metre = 1.196 Square Yards

1 Bigha = 0.4 Hectare.

1 Bigha = .625 Acre = 5/8 Acre (This is different in different parts of World, but mostly used).
1.6 Bigha = 1 Acre

1 Square Mile = 2.59 Square KM = 259 Hectares
1 Mile = 1.6 KM.
=========================================================

Tuesday, January 4, 2011

URL to format texts for blogging

http://formatmysourcecode.blogspot.com/

Thursday, December 16, 2010

URL/Link for Advanced Servlets

Link for advanced servlets:
http://www.exforsys.com/tutorials/j2ee/servlets-advanced.html

Hibernate loggers:
http://stackoverflow.com/questions/1380898/how-do-i-get-more-debug-messages-from-hibernate

Thursday, October 28, 2010

Microsoft Outlook Emails back up

Microsoft Outlook back up file locations:

File->Import/Export->As a personal folder *.pst file

C:\Documents and Settings\deepak\Local Settings\Application Data\Microsoft\Outlook\

Monday, September 13, 2010

Friday, September 3, 2010

Important Utility forms

Here are the links to download some Important/Utility Forms:

PF Closing Forms- Form 19 and Form 10C:
http://www.citehr.com/2983-employees-provident-fund-form-no-10-c-form-19-a.html

Unix command to copy files between 2 Systems

Dear Reader,
Today I am writing Unix commands to copy files and directories in Unix systems without FileZilla or 
WinScp like User Interfaces.

Suppose you want to copy a file from one system (SOURCE) to another system (DESTINATION), Login into 
DESTINATION system. Go to the location where you want to keep the copied contents.

Assumptions:
    SOURCE IP: X.X.X.113  (Type full numeric complete IP address in copy command).
    DESTINATION IP: X.X.X.50 (Type full numeric complete IP address in copy command).
    UserName for SOURCE IP: dm0945
    Password: System will ask once you enter the below copy command.    
    First login into DESTINATION IP system and move to destination directory, then type below command:
    
    scp dm0945@X.X.X.113:/home/dmodi/log/q2-2011-09-21.log  .    (Press Enter, it will ask password for X.X.X.113 system.
    The log file will be copied to current location of DESTINATION IP System. 
    
Above command will copy a file, if you want entire diectory to copy, tweak the above command as below:
    scp -r dm0945@X.X.X.113:/home/dmodi/log/q2-2011-09-21.log  . (Press Enter, it will ask password for X.X.X.113 system.
    Entire log directory will be copied to current location of DESTINATION IP System. 


---------------END---------------

Thursday, September 2, 2010

Desktop wallpaper sites

Good wallpaper sites:

http://www.vistadesktops.com/resolution.php?page=3&rid=9
http://safa.tv/370,why-the-bodyguards-lose-his-job-super-funny.html
http://www.flash-screen.com/free-wallpaper/

Wednesday, September 1, 2010

IFSC codes of my banks

IFSC Codes:

SBI MG Road- SBIN0005778
UNION Chandra layout- UBIN0556343
United Shivaji nagar- UTBI0SHV823
Yes bank KASTURBA ROAD BANGALORE- YESB0000022
End.

Wednesday, August 11, 2010

Ration card rules in bangalore

Taken from: http://timesofindia.indiatimes.com/city/bangalore-times/Ration-card-rules/articleshow/16684790.cms

Life is so much easier if you have a ration card. Whether you buy the rations doled out or not, it is wiser to possess one, because it has its uses - whether it's at the passport office or the RTO.
For getting a ration card afresh, here's what you have to do:
•You have to fill in an application form available at any of the five range offices of the Food and Civil Supplies department.
•You will also need your voter identity card, and a court fee stamp of Rs 2.
•Attach proof of residence. For this, you can offer any one of the following - rent agreement document, tax paid receipt, telephone bill, gas bill, electricity bill, bank passbook; even a letter mailed to the house will do.
Submit these at the jurisdictional range office. There are five of them: East - near RBANMS college, West - Bhashyam Circle, Rajajinagar, North - Vyalikaval, South - 5th main road, Chamarajpet, Central - opposite Vishveshwaraiah museum.
Submit the documents, get an acknowledgement. An inspector from the department will visit your residence to check if you really reside there, after which he sends his report to the office. And the ration card is ready for you to collect in less than a month.
On the day you go to receive your card, pay Rs 45, and get a computerised card, complete with your photo in it.
Surrender certificate
In case you are applying for a ration card and you have held one earlier at another place, you have to get a surrender certificate from the previous place. A ration card will be issued afresh on the same day.
Deletion certificate
In case there has been a bifurcation in the family, if a member has married and moved away, the name has to be deleted. For this you have to get a deletion certificate and apply with the other documents. The card will be issued on the same day.
Addition certificate
If a child's name is to be included, produce the birth certificate. If you don't have one, get a certificate issued by the school authorities. The card will be issued on the same day.
According to officials at the Food and Civil Supplies department, Chamarajpet, there are three kinds of ration cards issued - yellow (earlier green) for those below the poverty line; blue card or the photo card for those above the poverty line; and the white card or what is called the honorary card, for those who want the card only for address proof purposes and not for rations. This is issued within 10 days of your applying for it.

Wednesday, June 30, 2010

Our Enggineering college is in 33rd Rank in all over India

My Engg college is in 33rd Rank in India in 2010:

http://www.outlookindia.com/article.aspx?265887

Thursday, August 27, 2009

Drive doesn't open by double click. C, D drives doesn't open by double clicking.

Hi,
If you try to open a drive in windows machine by double clicking it, and unable to do, I mean, you have to right click and choose explore and then open a drive, then here is the solution:-

It means your system gets infected by a virus or trojan or some malicious code:-

Open Command prompt, type "regedit" and press "ctrl+f" to find "mountpoints2" and delete it.
Again find "mountpoints2" and delete it. I expect, you have to do this 3 times as 3 entries are there.

Then close this, you are done. Now you should be able to open a drive by double clicking it.

Deepak kumar modi

Very very useful URLs/Links for tutorials

Design pattern:-
http://www.javacamp.org/designPattern/


Spring web application sites:-
http://www.techfaq360.com/tutorial/spring/springwebapp.jsp
http://www.techfaq360.com/tutorial/spring/springsecond.jsp
http://www.techfaq360.com/tutorial/spring/springvalidation.jsp
http://www.techfaq360.com/tutorial/spring/struts_spring_hibernate.jsp

Spring with ACEGI/CAS form based security:-
http://www.tfo-eservices.eu/wb_tutorials/media/SpringAcegiTutorial/HTML/SpringAcegiTutorial-1_1-html.html?wb_session_id=6085175978eb26edcd0a9d90a99ca42a

Think tank tutorial:-
http://sharat.wordpress.com/

Running multiple instances in JBOSS:-
http://manoharviswanathan.com/blog/tech/running-multiple-jboss-instances-on-the-same-machine/

Implementation of License management in a Application:
http://manoharviswanathan.com/blog/tech/licence-management-for-java-web-applications-using-aspects/

How ProGuard works(ProGuard is a Java class file shrinker, optimizer, obfuscator, and preverifier):-
http://community.decisci.com/node/64

Java Tutorials:-
http://www.indijava.in/community/tutorials