-
Open a command prompt or terminal.
-
Run this command:
keytool -genkey -keyalg RSA -alias tomcat -keystore selfsigned.jks \ -validity -keysize 2048
Where <days> indicate the number of days for which the certificate will be valid.
| The significance of each digit is as follows: | |
| First 3 digits: The first 3 characters on a PAN card represent an alphabetic series running from AAA to ZZZ. | |
| 4th Character: The 4th character represents the status of the PAN holder, which can be one of the following: | |
| C β Company | |
| P β Person | |
| H β HUF (Hindu Undivided Family) | |
| F β Firm |
| $(document).ready(()=>{ | |
| $.validator.addMethod('nameLen',(value, element)=>{ | |
| return /([^a]{2}$)/g.test(value); | |
| },"Your Email is not in proper format.... please correct the same......"); | |
| $("#form1").validate({ | |
| rules:{ | |
| inpt:{ | |
| required: true, | |
| nameLen: true | |
| }, |
| LETTER DATE OR TIME COMPONENT PRESENTATION EXAMPLES | |
| G Era designator Text AD | |
| y Year Year 1996; 96 | |
| Y Week year Year 2009; 09 | |
| M Month in year (context sensitive) Month July; Jul; 07 | |
| L Month in year (standalone form) Month July; Jul; 07 | |
| w Week in year Number 27 | |
| W Week in month Number 2 | |
| D Day in year Number 189 | |
| d Day in month Number 10 |
| -- REFERENCE WEBSITE: http://www.vertabelo.com/blog/technical-articles/the-most-useful-date-and-time-functions-in-oracle-database | |
| -- ADD MONTHS | |
| SELECT ADD_MONTHS(SYSDATE, 1) AS NEWMONTHS FROM DUAL; | |
| -- LAST_DAY OF THE MONTH IN DD-MON-YY FORMAT FOR THE DATE SPECIFIED IN ARGUMENT | |
| SELECT LAST_DAY(SYSDATE) AS "Last" FROM DUAL; | |
| SELECT MONTHS_BETWEEN(SYSDATE,CURRENT_DATE) FROM DUAL; |
| -- REFERENCE WEBSITE: https://oracle-base.com/articles/misc/oracle-dates-timestamps-and-intervals#interval | |
| --LITERAL FORMATS BEING USED WHEN WE FIRE ANY OF BELOW QUERIES ++YY DDD HH25:MI:SS.FF6 | |
| SELECT INTERVAL '40' MONTH FROM DUAL; -- MONTH | |
| SELECT '180' YEAR FROM DUAL; --YEAR | |
| SELECT INTERVAL '30' MINUTE FROM DUAL; --MINUTE | |
| SELECT INTERVAL '25' SECOND FROM DUAL; --SECOND |
Open a command prompt or terminal.
Run this command:
keytool -genkey -keyalg RSA -alias tomcat -keystore selfsigned.jks \ -validity -keysize 2048
Where <days> indicate the number of days for which the certificate will be valid.