Store server's X509certificate in to .pem file

Hi,
I recieved server's X509 certificate during SSL handshake process. now what should i need to do store my X509 Certificate in to .PEM file
like USER.pem file
some sample code
URL url=new URL(add);
HttpsURLConnection urlc=(HttpsURLConnection)url.openConnection();
x509cert=urlc.getServerCertificateChain();
now i would like to store x509[0](first certificate in the Certificate chain)
in to some USER.pem file
Thanks

go to regional settings and there change the format which ever u want.
ex: 09/11/2007 or 9/11/2007 ok

Similar Messages

  • How to publish to an FTB server in iWeb 2 using the File ➙ Publish to Folder option??

    I was just given the following advice regarding publishing to an FTP other than MobileMe. 
    Web 08 does not have that feature (drop down menu to publish from "site" icon).  You will need to upgrade to iWeb 3 in iLife 11 in order to get that feature.  You can get iLife 11 at the online Apple Store while supplies last since iWeb (and iDVD) have been discontinued by Apple
    To pubish to an FTB server in iWeb 2 use the File ➙ Publish to Folder menu option and then use a 3rd party FTP client like Cyberduck to upload the site files.
    Follon-on question, can anyone provide more details on how to do exactly what was suggested?  I toyed with it and can only get it to publish to a folder on my desktop, but not to an external FTP.  (I have already purchased a web-host package, just need to publish to it!)

    Okay.  When you publish your site from iWeb to a local folder what you will get is one site folder - this site folder will have the same name as you gave your site in iWeb and one separate index.html file.
    Your site folder contains an index.html file as well as the separate index.html file.  You NEED both.
    What you need to do is firstly using Cyberduck or whatever, upload your site folder to your host into whatever folder you need to upload to on the server - could be 'public_html', 'htdocs' or whatever - this is your root folder.
    You then need to upload your separate index.html file to your server too, but this index file needs to sit outside your site folder because it needs to point in towards the index.html file that is in your site folder - this is the first page of your site.
    You don't delete or duplicate any index files - iWeb produces the two index files that you need when you publish to a local folder - one index file in the site folder itself and one separate index file that sits outside the site folder and points into the first page of your site. 
    Also, remember to call the first page of your site something like Home or Welcome, but DO NOT name it index.
    By the looks of things here you have not uploaded your index files correctly.
    What I would suggest that you do is start over - so open Cyberduck and connect to your server and go and delete your site folder and your other index file if it is still there.
    Go back to iWeb and publish to a local folder again and notice that you have both your site folder and separate index.html file.
    Now go and open Cyberduck again and connect to your server and note where you need to upload your files to.
    Now go and upload your Site Folder to your server and once this has finished go back and upload your separate index.html file, but this needs to sit outside your site folder.  If you do this, then your site should display okay - as long as your other index file is pointing into to the first page of your site it should display correctly.

  • .key.pem file missing from /etc/certificates

    Hi all
    I purchased an authority certificate from one of the big names.
    It's a wildcard cert for mail.domain, ical.domain etc that I want to setup.
    I've downloaded the cert from the provider and imported it into Keychain via Server Admin. That side all looks great but the cert will not work with any services. They just hang.
    Server log reports that cert.domain.verylongnumber.key.pem is missing from /etc/certificates.
    I had a look and indeed it's not there.
    .cert.pem and .chain.pem and .concat.pem are all present and correct. So where is .key.pem
    Thing is, I was using a self signed cert before and that does have a .key.pem file in /etc/certificates and that works fine....
    Cheers
    Ryan

    Solved.
    Turns out that the Certificate supplier (Globalsign in my case) don't supply the private key in the right format for OS X Server to understand - which is probably standard practice.
    10.6 Server requires the key in .pem format - mine was supplied as .pkcs12 (.pfx/.p12)
    You need to use openssl in Terminal to convert it to .pem as follows
    openssl pkcs12 -in mykey.pfx -out mykey.pem -nodes
    Then it can be dropped into Certificate Manager in Server Admin

  • Generating certificates pem file

    Hi,
    I am new to configuring client side ssl, I understand
    the client (which will actually run inside WLS 8.1) needs to specify programatically or by a system property a .pem file containing trusted servers certificates. So if I understand correctly, I might have a couple of certificates, each from a different server I will be communicating with, so how should I "merge" them into one .pem file? Shouldn't there be some command line tool available? Or should they simply be inserted manually into the same file with the
    "-----BEGIN CERTIFICATE-----"
    "-----END CERTIFICATE-----"
    header/footer to seperate them?
    Any help would be apreciated,
    Thanks,
    Uri.

    That's also what I thought.
    I am actually using BEA's JRockit but I suppose they have a keytool similar to the one sun provides.
    I know how to import a CA certificate to a truststore,
    The thing is I need to invoke a web service via ssl, and as I was reading through the docs I encountered this section, regarding the configuration of ssl client in WebLogic:
    <i>To configure basic SSL support for your client application, follow these steps:
    Set the filename of the file containing trusted Certificate Authority (CA) certificates. Do this by either:
    Setting the System property weblogic.webservice.client.ssl.trustedcertfile to the name of the file that contains a collection of PEM-encoded certificates.
    Executing the BaseWLSSLAdapter.setTrustedCertificatesFile(String ca_filename) method in your client application.</i>
    (http://e-docs.bea.com/wls/docs81/webserv/security.html#1053203)
    Maybe I missunderstood the text and PEM is simply the default encoding? that is, the encoding used for any JKS?

  • .pem file?

    Im building a web site and i need to use a .pem file for a shopping cart. Does iWeb support .pems'. I know nothing about this stuff but i have made it a long way in just a day i love iWeb. If there is a different file i can use please let me know. I need to be able to sell things on my site.
    Thanks

    A .pem file is used to create secure SSL certificates to encrypt traffic, which is typical in an ecommerce site.
    .pem files and SSL are used by the actual web server, not web pages themselves, and are beyond the scope of iWeb.

  • Store server status....failed

    Hi I recently had a JMS failer, it just stopped working and I noticed my /var directory was maxed out. I found huge log/stats files under /var/opt/SUNWam/stats/, so I moved these to a filesystem with more space so I can examine them later [does anybody know what they monitor and how to configure the monitoring intervals etc]. I restarted the system and then started directory server, I noticed entries were being made to these files [so I think they are ok].
    The big problem now is Messenger's store server status fails so it will not start at all. This is what I get:
    # /opt/SUNWmsgsr/sbin/start-msg
    Connecting to watcher ...
    Launching watcher ...
    Starting ens server ... 1627
    Starting store server .... 1628
    checking store server status ............ failed
    So I got no email :^(
    Does anybody have an idea what might be the problem. Is the store corrupted? how can I fix this?
    Thanks in advance.
    -James

    Thanks Jay what I think happend was the /var went to 100% and mail stopped [I cleared out some am stats/logs]. Now I am not sure why stored would want to write to this partition I have store [all my users] on another disk, but maybe I left a few test accounts on the original default partition. Here is what I got from the logs.
    # more /opt/SUNWmsgsr/log/default
    [25/Oct/2006:15:15:01 -0400] correo msprobe[27193]: General Information: Log created (1161803701)
    [25/Oct/2006:15:15:01 -0400] correo msprobe[27193]: General Warning: alarmid=diskavail|instance=Mboxlist Directory|time=25/Oct/2006:15:15:01 -0400
    |value=0|low=0|high=62|threshold(below)=10|count below threshold=42|warning sent=92
    [25/Oct/2006:15:25:01 -0400] correo msprobe[27202]: General Warning: alarmid=diskavail|instance=default|time=25/Oct/2006:15:25:01 -0400|value=0|lo
    w=0|high=60|threshold(below)=10|count below threshold=42|warning sent=92
    [25/Oct/2006:23:00:00 -0400] correo imexpire[27410]: General Notice: Expire started (0)
    [25/Oct/2006:23:00:23 -0400] correo imexpire[27410]: General Notice: Expire finished
    [26/Oct/2006:10:44:57 -0400] correo stored[1824]: Store Warning: Database snapshot failed: snapshot copy log file failed
    [26/Oct/2006:10:45:34 -0400] correo stored[1824]: Store Critical: Mailbox database error: write: 0xfd9a03e4, 1774: No space left on device
    [26/Oct/2006:11:27:23 -0400] correo imsched[1829]: General Notice: shutting down
    [26/Oct/2006:11:27:23 -0400] correo stored[1824]: General Error: mshttpd process 1827 is running, cannot start/stop stored
    [26/Oct/2006:11:27:23 -0400] correo stored[1824]: General Warning: ims_master process 28043 exited abnormally
    [26/Oct/2006:11:27:23 -0400] correo stored[1824]: General Warning: ims_master process 28049 exited abnormally
    [26/Oct/2006:11:27:23 -0400] correo stored[1824]: General Warning: ims_master process 28165 exited abnormally
    [26/Oct/2006:11:27:23 -0400] correo stored[1824]: General Warning: ims_master process 28163 exited abnormally
    [26/Oct/2006:11:27:23 -0400] correo stored[1824]: General Warning: ims_master process 28166 exited abnormally
    [26/Oct/2006:11:27:23 -0400] correo stored[1824]: Store Notice: Cannot stop stored when other message store processes are running. Please stop the
    other message store processes before stopping stored
    [26/Oct/2006:11:29:28 -0400] correo stored[1824]: General Warning: imapd process 1825 exited abnormally
    [26/Oct/2006:11:29:28 -0400] correo stored[1824]: General Warning: popd process 1826 exited abnormally
    [26/Oct/2006:11:29:28 -0400] correo stored[1824]: General Warning: mshttpd process 1827 exited abnormally
    I have checked and stored is not running nor anything by mailsrv. I am not sure where store.pid is?
    There are 2 of those log files:
    # ls /var/opt/SUNWmsgsr/store/mboxlist/
    __db.001 __db.003 __db.005 folderlock log.0000000076 peruser.db subscr.db
    __db.002 __db.004 folder.db log.0000000075 lright.db quota.db
    I have fsck all my disks [var, /opt, /export/home etc] and all is well. I have also been able to start with start-msg:
    sched, ens, dispatcher, job_contriller
    - pop and imap don't start without store.
    I don't know what to do next thanks again
    -james

  • I transferred files from a NAS server to the Mac Mini Snow Leopard Server and now some of the files have Custom Access and can't  be opened by some users.  How do I fix this?

    We're setting up our Mac Mini Snow Leopard Server, and in the process transferred files that had been stored and accessed from our Blackarmor NAS server over to the Mac.  These files were all created on PC's and are Office Excel files, WordPerfect files or PDF's.  When you look at the files on the Mac from the Mac and bring up Get Info for the affected file, it says that the file has Custom Access.  The files that work properly don't have that configuration.  I can access and open the files on some computers, but some users can't open the files from their computer even though they can see it.  We're all using PC's and they get the Error:  Access Denied-Contact your administrator--or something similar.  I've seen on the web similar issues and it may have something to do with ACL permissions.  I don't know enough about Mac OS to understand this, but what is baffling is that they can be opened from some PC's but not others, and all of the Users have the same accessibility to the files.  Thanks for a solution!!

    Oh, on the losing Internet, try this...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.
    PS. Your English is quite good & completely understandable.

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • Store table data in a tab separated file in oracle apex

    How to store table data in a tab separated file in oracle apex ?
    Suppose i have a table 'Table1' as shown below.
    id name
    1 x
    2 y
    I want to get the result 'select * from table1;' into a tab separated file in oracle apex.

    For client you could
    - invoke call to Oracle Reports, where an .rdf is ready to generate one for you
    - utilise download as csv option in interactive reports
    - call page that generates csv using htp package (CSV Download without Header, possible?
    - modify an interactive report to do a similar thing (http://www.talkapex.com/2009/04/custom-download-for-apex-interactive.html)

  • "there was a problem connecting to the server. URLS with the type 'file' are not supported"

    i have a new macbook pro 13" and every 6 minutes or so it pops up a window that says "there was a problem connecting to the server. URLS with the type 'file' are not supported". it never seems to cause any problems but is supremely annoying. how can i make this come to an end?

    I tried someone's solution of taking another external disc and plugging it in, then when it showed up and time machine asked if I wanted to use it or that someone might be trying to trick me, I chose not use it.  Then I  shut down my computer, plugged in the original Lacie, and rebooted the computer and all seems to work fine now-- the Lacie appears on my desktop and all seeems to be in working order. Who knows why or anything else,- as weird as it gets- but for now things seemed fixed--- maybe others can try this too-- it worked for me so far.

  • "There was a problem connecting to the server.   URLs with the type "file:" are not supported.  Why?  What can be done to eliminate it?

    After upgrading to Mountain Lion, I repeatedly get this message:  "There was a problem connecting to the server.   URLs with the type "file:" are not supported. 
    Why? 
    What can be done to eliminate it?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Message - There was a problem connecting to the server. URLs with the type "file:" are not supported

    new macbook pro receving this message: There was a problem connecting to the server. URLs with the type "file:" are not supported. What is causing this and how do

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • There was a problem connecting to the server. URLs with the type "file:" are not supported. OK

    I have just upgraded to Mountain Lion from Leopard, but now I keep getting this message when I open some web-pages and every time I wake the Mac up after going to sleep. For some odd reason I get it in Swedish sometimes (installed language) and some times in English...
    There was a problem connecting to the server.
    URLs with the type "file:" are not supported.
    OK
    What is this and how can I get rid of it. I use Firefox and have updated to latest version.

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    A Davey1 wrote:
    Not a nice answer!
    Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
    You're ignoring context.  On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers.  The new Apple Support Communities made things worse by introducing certain inefficiencies.  Then came Lion.  The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest.  (2) When applicable, give a brief answer such as the one that you found objectionable.  (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
    People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems.  I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there.  Even doing that, what I posted saved me time that I could use to help someone else.
    The people helping here are all volunteers.  None of them is being paid for the time they spend here.  They all have a life outside of Apple Support Communities.  It's arrogant of you to demand that people helping here spend more time than they already do.

  • Error Happened at RFC Server Cannot Open the Job Batch File.

    We have BW 7.0  and Data services 12.1. We are scheduling a Infopackage in BW that triggers a job in Dataservices server.
    We had checked the connection between Dataservices source system in BW and RFC server on Dataservices side and these connections are good. on the 3rd party sellections tab in infopackage we specify the batch file name that we exported in Dataservices server. When we execute the infopackage we get the following error.
    Error Happened at RFC Server Cannot Open the Job Batch File.
    This error started occuring from yesterday and prior to that it was working fine. We are not understanding what changed in the system to cause this error.
    Can anyone suggest any solutions for the above issue.
    Thanks,
    Naveen.

    I'm not sure what the root cause would be here. Is the file still available ? Did file permissions change ? ...
    But I wanted to point your attention to the fact that in Data Services/Data Integrator XI 3.2 (=12.2) we significantly enhanced the integration with BW. In XI 3.2, the RFC server is now integrated into the Data Services Management Console (so no need to start as a seperate executable) and you can start jobs from BW by just specifting the job's name in the repo (no need anymore to export execution commands to .bat files). So if upgrading to XI 3.2 is an option, things should go much smoother.
    More details on the wiki  : http://wiki.sdn.sap.com/wiki/display/BOBJ/Loading+BW
    Thanks,
    Ben.

Maybe you are looking for