Generate the CA certificate using openssl
hi all,
can anyone help me on this topic. i wanted to generate the CA certificate using Openssl.. While executing the command i am getting the following error. Kindly suggest what has to be done. Both "clientapp.crs" and "ca.key" are in the bin folder of Openssl
OpenSSL> ca -in clientapp.crs -out clientapp.pem -keyfile ca.key
Using configuration from C:\OpenSSL\bin\openssl.cnf
Loading 'screen' into random state - done
Error opening CA certificate ./demoCA/cacert.pem
544:error:02001003:system library:fopen:No such process:.\crypto\bio\bss_file.c:
278:fopen('./demoCA/cacert.pem','rb')
544:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:280
unable to load certificate
error in ca
That didn't work for me - as well as a host of other things that did not work for me. I can honestly say that Netbeans is the worst piece of junk software I've ever used in the entirety of my life and my previous one thousand lives.
The best way to rid yourself of this problem is to uninstall Netcrap and run over to Eclipse. But beyond that, edit your [$TOMCAT_HOME]/conf/web.xml file and rip out the following section from the top - where Netcrap snuck it in, and didn't remove - even causing config errors after I turned it off.
=========================================
<filter>
<filter-name>HTTPMonitorFilter</filter-name>
<filter-class>org.netbeans.modules.web.monitor.server.MonitorFilter</filter-class>
<init-param>
<param-name>netbeans.monitor.ide</param-name>
<param-value>127.0.0.1:8082</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>HTTPMonitorFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
=========================================
I'm using 4.0 on Linux. Thing has got a couple of cool features, but nothing beats dependability, and a darn config interface that actually makes sense. I mean, turn off some features and you can't even open your past projects?! WTF?! But no indication! But first the icon looks good! And then you click on it and it disappears! Un-effing-believable! And it took me hours to figure out how to set up a dang server! I just assumed it didn't have the ability to do it at all! The source-code control config is whack. Man. Total lack of useful documentation, no decent news/web boards. Totally outrageous.
Worst. Software. Ever.
Similar Messages
-
Create an ssl certificate using openssl +windows
hi friends this is chaitu i need code to create an ssl certificate using openssl (windows o.s)
so anybody plz help meeeeeeeeThis is a Java forum.
If you are talking about C or C++ code using the openssl library you are asking in the wrong place.
If you are asking how to use the openssl utility you are equally asking in the wrong place. -
How do I generate the pdf file using the name of a field. How can I help
how do I generate the pdf file using the name of a field. How can I help
Hi,
here's a sample.
LiveCycle Blog: Formulare in bestimmte Verzeichnisse speichern und nach Inhalt aus Formularfeld benennen //Save forms to… -
Error: Internal Erorr when generating the history. Use a different view.
Hello,
When I am trying to open an workbook in BEX. I get the message: Internal Error when generating the history. Use a different view. (production system)
How can I solve this problem? And what could be the reason? In our Development and QAS everything is OK!
Regards,
Boykehi
If nobody have change or write access in prod, then
ensure that everything is OK in QAS,
Execute the workbook and views in QAS.
If it works fine there, some thing is missing in the transported objects.
Ensure everything is transported correctly
Thanks
N Ganesh -
WAD-Internal Error when generating the history. Use a different view!
Hello,
When i am trying to open the WAD(Webapplication designer), BEx Open Dialog is being displayed with the message "Internal Error when generating the history. Use a different view"
how to solve this problem...?
Thanks
kumarHello Jeff,
Thanks for your help, and it has solved my problem. Under Activate Personalization in BEx...
I have seen 2 more options
-Variable Personalization
-Web Reportperson
Could you inform me the pupose of above 2 options?
Regards.. -
Can we generate the payslip by using EC 6.0 in development server ?
Hi Gurus,
Pl. respond asapwe have successfully run the pay roll,but we are not able to generate the payslip in SAP format. If we can do it ?, can you pl explain the procedure ....
Thanks in advance
Regards, -
How to generate the "validate image" using APEX API ?
I don't konw whether APEX has some API function using to generate image, and draw anything on it freely :-), such as LINE, TEXT or RECTANGLE ?
Apex has no built in tools for creating GIF or JPEG images no.
You may have some success looking for some java code that will do this for you, then you can load that java class into the database, write some PL/SQL wrappers around it then you will be able to call it from within your Apex application. -
Error in J1INCERT while generating the tds certificate
Dear All,
when i do the J1INCERT, geting the error mesge no data selected for printing.
Please help me on this.
Best Regards,
Venkat,
9616246748.Hi Venkat,
After making the posting of invoice or payment, did you run the following transactions before J1INCERT:
J1INCHLN & J1INBANK , if no please run these transactions.
If Yes, please check whether you have entered the following correctly :
Business Place, Section code & Section in the company details tab
Posting Date, Bank Challan Number & Bank Challan Date in the document details tab (If you select the bank challan number leaving all other fields blank then it should get populated automatically).
All details in the certificate tab.
Thank You. -
Using javascript to dynamically generate the html for a Spry table
I have some javascript which generates html code for a Spry
table which displays the content of a Spry data set. The problem is
that after I generate the html, Spry never fills in the values for
the table.
Here's what I'm doing:
Using a data set observer, check for onPostLoad and generate
the html code
Using innerHTML, stuff the code into the appropriate
<div>
Use regionName.updateContent() to update the region I just
created with the html code I generated
Interestingly, if I take the generated source for my page and
remove the data set observer, the Spry table displays correctly
with all the expected values. This suggests to me that my generated
html code is correct, but that there is some sort of timing issue
(i.e. Spry doesn't know about the new code I generated).
Any suggestions?jalperin wrote:
> Here's what I'm doing:
>
Using a data set observer, check for
onPostLoad and generate the html
> code
>
Using innerHTML, stuff the code into
the appropriate <div>
>
Use regionName.updateContent() to
update the region I just created
> with the html code I generated
>
> Interestingly, if I take the generated source for my
page and remove the data
> set observer, the Spry table displays correctly with all
the expected values.
> This suggests to me that my generated html code is
correct, but that there is
> some sort of timing issue (i.e. Spry doesn't know about
the new code I
> generated).
>
> Any suggestions?
I'd guess that it is a timing issue as well. I haven't looked
much at the dataset capability in Spry, but it may be that the
dataset "finds" all of the regions and code that it applies to
before the onPostLoad event is triggered. If that is the case, then
your generated code doesn't exist yet,and so the dataset thinks
that there is nothing for it to apply to.
Will the HTML that you generate change based upon the dataset
that is actually returned? I guess I'm looking for the reason why
the HTML is being generated when it could be in the page itself and
avoid this issue completely.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
Wildcard Certificate use in Sun Java System Messaging Server (IMAPs/POPs)
I'm trying to use a wildcard certificate acquired from GlobalSign and am having problems getting
it (properly) into the cert database.
I tried using certutil, and that didn't seem to work at all, it would list without user cert status:
rmorneau+root@mmp1:/var/opt/SUNWmsgsr/config# /opt/SUNWmsgsr/sbin/certutil -L -d .
GlobalSign-Ext-CA CT,c,
*.xxxxxxxxxxx.edu ,,
I had some success using msgcert and pk12util, but after importing it in, then seeing that it did
have user cert status, after a quick restart of Messaging (IMAP/POP), SSL quit for IMAP and kicked all
my IMAPs users out temporarily (until I put the original cert8.db and key3.db back).
-------- ImapProxy_20101115.log----
20101115 135531 ImapProxyAService.cfg (id 2590) SSL negotiation failed for IP XXX.XXX.X.XXX: Cannot connect: SSL is disabled. (-12268)
pop.xxxxxxxxx.edu u,u,u
GlobalSign-Ext-CA CT,c,
*.xxxxxxxxxxx.edu u,u,u
I truly appreciate any help on this matter.
-Bob2. Does the certificate nickname in NSS match the configured certificate nickname in the product?I'm not sure, but I'll try that the next time I try this... will probably be late at night were I won't be interrupting IMAPs and POPs
Makes sense. Prior to release 7 update 4, the servers have to be shut down before modifying certificate databases. As of 7 update 4 you can do a one-time migration to the cert9.db/key4.db format that >should allow certificates to be updated without taking the servers offline.
This was in the log just before the other log entry that I showed before.
20101115 135440 ImapProxyAService.cfg ASockSSL_Init: couldn't find cert imap.xxxxxxxxx.edu (-8174)
This is the key line from the log. The server is looking for a certificate with the NSS certificate nickname of 'imap.xxxxxxxxx.edu' and is not finding that certificate so issue 2 is likely the problem.Yes, this was it. Oversite on my part, forgot they had to match and could not be a form of just domainname.edu or *domainname.edu.
You either need to modify the default:SSLCertNicknames setting to match the nickname of the new certificate, or install the new certificate using the existing certificate nickname of 'imap.xxxxxxxxx.edu'I modified the default:SSLCertNicknames setting.
Thank you CNewman very much for all your help.
And, for those trolling for an answer with more detail via an Internet search (that is, if Oracle doesn't screw up these forums for anon searches)::::
With the private key in hand (not password protected), I used 'openssl' to get it into a pkcs12 type file:
(It is best to do this as root and not as sudo root as you might run into problems if your host
does not have root power to write to your home dir on the/a NFS share.... you will get "unable to write 'random state'".)
root@mmp1:/var/opt/SUNWmsgsr/config/GlobalSign-certs-new# /usr/sfw/bin/openssl pkcs12 -export \
-in ket-wildcard-cert.pem -inkey private.key -out cert.pkcs12 -name xxxxxxxxx.edu
Enter Export Password:
Verifying - Enter Export Password:
Where "private.key" is the key file, and "ket-wildcard-cert.pem" is the (pem format) cert from our cert provider,
and cert.pkcs12 is our cert file that will be imported into the database, and xxxxxxxxx.edu is whatever you (nick)name your cert
in the database
(I think you could use a password protected private key if you have that password.. I don't.)
Next, I used 'msgcert' to import the pkcs12 cert file into the database (I'm sure there is a way
to use certutil or even pk12util to do the same, but I'm on Sun Messenger 6.3 at this time, so that's what I used.
If someone would like to elaborate for those....?):
(It is best, when using 'msgcert', to do it where your mailsrv user has some privs.. I took my pkcs12 cert and moved into /tmp.)
root@mmp1:/tmp# /opt/SUNWmsgsr/sbin/msgcert import-cert cert.pkcs12
Enter the PKCS#12 file password: (blank)
Enter the certificate database password: (token password in sslpassword.conf)
Make sure your (wildcard) cert nickname matches what you have in
ImapProxyAService.cfg and PopProxyAService.cfg at the "default:SSLCertNicknames" field.
Edit if need be.
root@mmp1:/var/opt/SUNWmsgsr/config# /opt/SUNWmsgsr/sbin/certutil -L -d .
GlobalSign-Ext-CA CT,c,
xxxxxxxxx.edu u,u,u
root@mmp1:/var/opt/SUNWmsgsr/config# grep default:SSLCertNicknames *AService.cfg
ImapProxyAService.cfg:default:SSLCertNicknames xxxxxxxxx.edu
PopProxyAService.cfg:default:SSLCertNicknames xxxxxxxxx.edu
Then, of course, restart the msg service(s).
/opt/SUNWmsgsr/sbin/stop-msg
/opt/SUNWmsgsr/sbin/start-msg
Edited by: 810750 on Nov 18, 2010 8:08 AM
Edited by: 810750 on Nov 18, 2010 8:11 AM -
I am trying to create my IPA, I have gone through all the steps to create my certificates etc from Apple but keep getting the above error message when I try to publish my file. (I am using the Flash CS5 iphone packager, not the command line) Mac OSX
Here is the tutorial I am following: http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-240138de1243a7725e7-7ffc.html
What are some things to try to troubleshoot?
Thanks!Hi All!
I’ve just finished an application but I’m having problems generating the .BAR file that I want to submit to the AppWorld. These are the commands I’m executing
First - "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.3\bin\blackberry-keytool" -genkeypair -keystore bbDevCertificate.p12 -storepass myPass -dname "cn=Company" -alias " Company "
Second - "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.3\bin\blackberry-airpackager" -package AppName_signed.bar AppName-app.xml blackberry-tablet.xml AppName.swf splash.png icons/icon128.png
Finally - "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.3\bin\blackberry-signer" -verbose -cskpass myCSKPass -keystore bbDevCertificate.p12 -storepass myPass AppName_signed.bar RDK
My blackberry-tablet.xml is:
<qnx>
<initialWindow>
<systemChrome>none</systemChrome>
<transparent>false</transparent>
</initialWindow>
<publisher>Company</publisher>
<category>core.games</category>
<icon>
<image>icons/icon128.png</image>
</icon>
<splashscreen>splash.png</splashscreen>
</qnx>
The problem comes at the first step. I'm using Flash Professional CS5. When I generate the p12 certificate and I try to export my app using that certificate and the password that I've set, it gaves me the next error:
"Error creating files.
Could not access the digital certificate. unable to retrieve key (password may be incorrect)" -
Internal Error while Generating the History
Hi All,
In BI7, going through Bex Analyzer when i log in i get this message " Internal error when generating the History. Use a different view".
The rest of the options i.e.roles, favorites, Infoarea are all okay but clicking the history tab pops up this message.
any thought??
Thanks,
Talibcheck whether You activated the SPRO setting for BEX.
SPRO -->SAP Business Information Warehouse --> reporting relevant settings -->
general reporting settings > activate personilisation in BEX>
P -
Problem in generating the Primary Key
Hi All ,
I am trying to persist an object and also generating the primary key using a default sequence . But the problem is that the Primary key is getting incremented by 2 instead of 1 . My code looks like this :
import java.util.HashMap;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import javax.persistence.PersistenceContext;
import javax.persistence.PersistenceContextType;
import javax.persistence.PersistenceUnit;
public class entityCaller {
// @PersistenceContext(unitName="testApp" ,type=PersistenceContextType.EXTENDED)
EntityManager em;
// @PersistenceUnit(unitName="testApp")
EntityManagerFactory emf ;
public void persistEntity( String Name , int Age ) {
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("testApp", new HashMap());
em = emf.createEntityManager();
EntityTransaction entityTransaction = em.getTransaction();
Tab1 oBJTab1 = new Tab1();
// oBJTab1.setId(Age);
oBJTab1.setVal(Name);
try{
System.out.println("Making object");
em.persist(oBJTab1);
System.out.println("Done");
System.out.println("Making object2");
System.out.println("Entered the Values");
}catch (Exception e) {
e.printStackTrace();
}finally{
em.close();
public static void main(String[] args) {
entityCaller caller = new entityCaller();
caller.persistEntity("DoAgain7",2);
My persistence.xml looks like this :
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="testApp">
<provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
<class>Tab1</class>
<!-- <jta-data-source>java:/XAOracleDS</jta-data-source> -->
<properties>
<!-- Provider-specific connection properties -->
<property name="toplink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>
<property name="toplink.jdbc.url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE"/>
<property name="toplink.jdbc.user" value="system"/>
<property name="toplink.jdbc.password" value="jlkklkj"/>
<!-- Provider-specific settings -->
<!-- other values are: drop-and-create-tables|none -->
</properties>
</persistence-unit>
</persistence>
Please provide me with some pointer as to know where the things are going wrong.If you generated your original schema using toplink.ddl-generation, then later dropped it and created it then you should keep in mind the sequence table does not get dropped. This can lead to an initially 'empty' database with a PK sequence starting at '2' if you have one persistence unit and one entity. Can you steadily duplicate this or did you just notice that your persist started with an key of '2'? Just a thought.
-
How to generate csv ouput by using a procedure
Hi All,
How do I generate a csv (comma separate value) output by using procedure. I have 2 SQL statements in my procedure, I need to generate a csv file with the result set of 2 SQL's. For Example;
I have the following 2 SQL's in my procedure
Cursor emp_det Is Select * From emp where sal < 4000;
Cursor sal_det Is Select e.* from emp e,dept d where d.dname = 'SALES'
My requirement is to generate a csv ouput with the result set of cursors emp_det & sal_det. How can I generate a csv ouput by using PL/SQL. I could generate the same by using tools like TOAD & PL/SQL Developer. But I need to generate csv output by using PL/SQL only...Your help would be more appreciated.use tom kyte's dump_csv.
create or replace function dump_csv( p_query in varchar2,
p_separator in varchar2
default ',',
p_dir in varchar2 ,
p_filename in varchar2 )
return number
AUTHID CURRENT_USER
is
l_output utl_file.file_type;
l_theCursor integer default dbms_sql.open_cursor;
l_columnValue varchar2(2000);
l_status integer;
l_colCnt number default 0;
l_separator varchar2(10) default '';
l_cnt number default 0;
l_colDesc dbms_sql.DESC_TAB;
begin
l_output := utl_file.fopen( p_dir, p_filename, 'w' );
dbms_sql.parse( l_theCursor, p_query, dbms_sql.native );
for i in 1 .. 255 loop
begin
dbms_sql.define_column( l_theCursor, i,
l_columnValue, 2000 );
l_colCnt := i;
exception
when others then
if ( sqlcode = -1007 ) then exit;
else
raise;
end if;
end;
end loop;
dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
l_status := dbms_sql.execute(l_theCursor);
dbms_sql.describe_columns(l_theCursor,l_colCnt, l_colDesc);
l_separator := '';
for lColCnt in 1..l_colCnt
loop
utl_file.put( l_output, l_separator || '"' || Upper(l_colDesc(lColCnt).col_name) || '"');
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
loop
exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
l_separator := '';
for i in 1 .. l_colCnt loop
dbms_sql.column_value( l_theCursor, i,
l_columnValue );
utl_file.put( l_output, l_separator || '"' ||
l_columnValue || '"');
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
l_cnt := l_cnt+1;
end loop;
dbms_sql.close_cursor(l_theCursor);
utl_file.fclose( l_output );
return l_cnt;
end dump_csv;Thanks,
Karthick. -
Compile pll (ONLY not generate the plx )in unix
hi all,
i want to just compile my pll and save it , but don't generate the .plx
i use
f90genm.sh module=x.pll userid=user/pass@db module_type=library compile_all=yes batch=yes logon=yes build=no output_file=x.pll
and this produces x.plx , i want x.pll to just be compiled a
Thanks for any contributionAs Steve has said the compile_all=yes option will rebuild the pll and save it. That's the way I've done it for years. Then I've either deleted the plx if I'm not using them or split the pll and plx into diferent directories : Forms Builder has the FORMS_PATH set for the pll and the Application Server has it's FORMS_PATH set for the plx.
HTH
Steve
EG:
Q:\Forms>dir jacob.pll
Volume in drive Q is Home
Volume Serial Number is 047F-1902
Directory of Q:\Forms
13/03/2007 11:45 126,976 jacob.pll
1 File(s) 126,976 bytes
0 Dir(s) 25,464,627,200 bytes free
Q:\Forms>frmcmp module=jacob.pll module_type=library userid=prism_adm/password@devprop compile_all=yes window_state=minimise batch=yes
Q:\Forms>dir jacob.*
Volume in drive Q is Home
Volume Serial Number is 047F-1902
Directory of Q:\Forms
06/07/2007 09:08 122,880 jacob.pll
06/07/2007 09:08 53,248 jacob.plx
2 File(s) 176,128 bytes
0 Dir(s) 25,464,483,840 bytes free
Q:\Forms>
Maybe you are looking for
-
Hi, I have 2 ODS, one holding the PO data and other with GR data. Now I want to create a report where where I can show pick up specfic field from each of the ODS and show. For example I want to Open order summary report. Here my selection is on PO Cr
-
I have a A12E6 error when downloading and installing apps
I have an A12e6 error when downloading and installing apps yesterday i had the A12e1 error so i used the cleaner tool and did a new install but today again i have an arror A12e6 Do you have a solution for me???? (mac osx 10.7.5) kind regards Arold
-
Data Guard. My archive log files are not applied.
I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database i
-
Lost ability to edit on 2003 terminal server
Not sure when exactly it happened, but for some reason the ability for Zen to manage the desktops on 2003 terminal server is gone. Additionally when I open console one and try to edit the policy or even create a new one and edit the group policies, t
-
User administration - read rights for customizing
Hello, is there s. th. like a only-read-right for the whole customizing img or do I have to get the rights for all the different t-codes inside the img? Thanks a lot in advance, Hansi