Help with X.509 certificate instalation
Hi all..
We had exported a X.509 certificate from a https site form one of our vendors...
then we imported this file using the keytool command as shown...
keytool -import -alias [AliasgoesHere] -file /tmp/[filename].cer -keystore ticketKeyStore -storepass [mypassword]
Then in the VA we uploaded it into the TrustedCAs.
However, when we run a webservice that shall use this certificate we are receiving the error... "unknown certificate"
Anyone know if we are missing any steps???
Hi Kerubon,
you will need the following JAR-Files to resolve the imports (only at development time):
- keystore_api.jar
- tc_sec_ssf.jar
For runtime you define the following sharing references if you do not want to deploy the jars with your application (SAPJ2EE::interface:keystore_api, SAPJ2EE::library:security.class)
Here's the code:
try {
// get profile from keystore service of J2EE engine
InitialContext ctx = ctx = new InitialContext();
Object o = (Object) ctx.lookup("keystore");
KeystoreManager manager = (KeystoreManager) o;
KeyStore ks = manager.getKeystore("DEFAULT");
String alias = "TEST-cert";
SsfProfileKeyStore profile = new SsfProfileKeyStore(ks, alias, null);
// Here you can fetch the certificate from the profile or do stuff with your certificate
String SubjectDN = profile.getCertificate().getSubjectDN().getName();
} catch (Exception Ex) {
Ex.printStackTrace();
Make sure you access the DEFAULT Keystore so you won't get into trouble with permissions (I suggest you store your certificates in DEFAULT)
Note that when creating a certificate you will mostly get 2 entries (PRIVATE KEY and certificate entry). Make sure that for alias you use the name of the PRIVATE KEY entry that also contains the certificate!
Hope this helps (Please reward points if helpful)
Cheers
Similar Messages
-
Hello,
I installed a theme on OS X Lion that was actually made for snow leapor, because on a youtube video someone said it works with Lion too,
After installing it I got problems seeing close and minize icons.
And After reinstalling my Macbook pro, I am unable to open finder, Safari, Terminal etc.
I have tried to get help from several help forums, and tried changing files as described here
https://discussions.apple.com/thread/3256533?start=0&tstart=0
Theme was downloaded from here
http://www.fif7y.com/themes/sog/Okay, it's both for your first question: When I import the songs to the library, the songs are not in the correct order as they were on the CD. And, in the process of my importing the songs, the library scrambles the songs in different sections of the library (I explain further below)
I don't know what you mean by "little triangle" pointing up or down. What's that got to do with the price of fish in China? lol
When I get the music in the library the songs come out sorted this way: 2 songs from CD 1 appear one section of the library, then 1 song from CD 2 appears in the next column, along with the album work. Then, I go down farther, and there's a few more of the songs from CD 1 in the next section. I go down again, and maybe 2 or 3 songs are in that column. Along with the artwork for that CD. Then I scroll down again in the library, and there's maybe 3 or 4 songs from CD 1 there. Get the picture? It keeps sorting the songs in that order. And yes, the CDs I was importing were compliation dance CDs, along with some from the same artist, like Barry Manilow.
I hope I answered the questions better so that you can help me Thanks in advance, Glenn -
Help with 9iAS Infrastructure post-instalation
Hi,
Can anyone tell me where I'm going wrong with this? Having installed 9iAS infrastructure component (V9.0.2.0.1) on a Windows 2000 machine, everything seems to work fine. I can log in using the IAS_ADMIN password I have set up, start up all the services and run all the demos. However, once I reboot, I can no longer log in as IAS_ADMIN. It refuses to accept the password I have set up. Is there any post-installation stuff I have missed?
ThanksEven I am having the same problem.
I am still struggling to get this right but in the meantime you can start from the following URL:
Re: Alter table doubts
All the best.
-Puneet -
Help with Boot Camp Assisant install
I am trying to install windows 8 on my macbook pro I bought Saturday (2/28). I get past the first 3 steps but when it restarts my computer the first thing it does is boot to the usb drive called windows where it tells me there is no boot disk available press any key to continue, then there is the efi boot i believe which when clicked under boot menu at start it starts to install windows all the way till I have to choose a partition and it comes up with this error message Please help need windows to run certain programs for school!!
Last login: Wed Mar 4 00:05:23 on console
Brendans-MacBook-Pro:~ BHoss$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 397.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 102.0 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Brendans Hard Drive *396.9 GB disk1
Logical Volume on disk0s2
E9D52E86-C9F8-4199-99E7-55591DC1F44F
Unencrypted
Brendans-MacBook-Pro:~ BHoss$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 6410A4FF-76DC-4C11-BEA2-10DB12DB8D47
=========================================================
Name: Brendans Hard Drive
Status: Online
Size: 397248102400 B (397.2 GB)
Free Space: 18972672 B (19.0 MB)
|
+-< Physical Volume BC7D8947-0101-4EF3-9ED3-FA605FD32FE6
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 397248102400 B (397.2 GB)
|
+-> Logical Volume Family 7D0AF1EC-3255-43E6-B093-91FE28B64956
Encryption Status: Unlocked
Encryption Type: None
Conversion Status: NoConversion
Conversion Direction: -none-
Has Encrypted Extents: No
Fully Secure: No
Passphrase Required: No
|
+-> Logical Volume E9D52E86-C9F8-4199-99E7-55591DC1F44F
Disk: disk1
Status: Online
Size (Total): 396876808192 B (396.9 GB)
Conversion Progress: -none-
Revertible: Yes (no decryption required)
LV Name: Brendans Hard Drive
Volume Name: Brendans Hard Drive
Content Hint: Apple_HFS
Brendans-MacBook-Pro:~ BHoss$ sudo gpt -vv -r show /dev/disk0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
Brendans-MacBook-Pro:~ BHoss$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 397.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 102.0 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Brendans Hard Drive *396.9 GB disk1
Logical Volume on disk0s2
E9D52E86-C9F8-4199-99E7-55591DC1F44F
Unencrypted
Brendans-MacBook-Pro:~ BHoss$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 6410A4FF-76DC-4C11-BEA2-10DB12DB8D47
=========================================================
Name: Brendans Hard Drive
Status: Online
Size: 397248102400 B (397.2 GB)
Free Space: 18972672 B (19.0 MB)
|
+-< Physical Volume BC7D8947-0101-4EF3-9ED3-FA605FD32FE6
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 397248102400 B (397.2 GB)
|
+-> Logical Volume Family 7D0AF1EC-3255-43E6-B093-91FE28B64956
Encryption Status: Unlocked
Encryption Type: None
Conversion Status: NoConversion
Conversion Direction: -none-
Has Encrypted Extents: No
Fully Secure: No
Passphrase Required: No
|
+-> Logical Volume E9D52E86-C9F8-4199-99E7-55591DC1F44F
Disk: disk1
Status: Online
Size (Total): 396876808192 B (396.9 GB)
Conversion Progress: -none-
Revertible: Yes (no decryption required)
LV Name: Brendans Hard Drive
Volume Name: Brendans Hard Drive
Content Hint: Apple_HFS
Brendans-MacBook-Pro:~ BHoss$ sudo gpt -vv -r show /dev/disk0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
After this point it doesn't allow me to enter password as I type nothing comes up -
Help with Performing a Clean Install of Windows 8.1
Hey. I just bought a laptop today and it came with Windows 8.1. However, my issue is that my OS resides in a huge partition (900+ MB). And I don't want this. I want to re-allocate space, and take a portion from my OS's drive in order to create more partitions.
However, to do that, I have to format the drive, which I can't 'cause it contains the OS.
Bottom line: I don't have a CD installer for Windows 8 or Windows 8.1. I am trying to perform a clean install of Windows 8.1 in my laptop. Can I get the installer online? Can I use the product key here in my already activated Windows 8.1 OS? Do I need to
install Windows 8 before installing Windows 8.1?
you may be able to shrink the existing volume(s):
https://technet.microsoft.com/en-us/library/cc731894(v=ws.10).aspx
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Any help with a Time Capsule install and Mac Mini server screen share?
Installed a Time Capsule, now I can't access my mac mini server. I see the files/folders, but cannot screen share with the mini from my macbook pro. Any help? Error below when trying to use the "screen share" button in Finder. Macbook Pro and Mac Mini are using Mountain Lion 10.8.2.
Connection Failed Error: Please make sure that Screen Sharing (in the Sharing section of System Preferences) is enabled on the computer to which you are attempting to connect. Also make sure your network connection is working properly.
Please help, I'm really stuck on this one!Try removing the TC and see if the problem disappears.
Screen Sharing has a checkered histroy looking back through the posts..
https://discussions.apple.com/message/16026896#16026896
There are many discussions about failing after changes in Lion.. I haven't seen the equivalent ML yet.. the TC may not be root cause, just the initiator of the problem.
It could be the BTMM associated with the TC.
https://discussions.apple.com/thread/4160415?start=0&tstart=0 -
Help with expiring Default certificate
I need some help, I'm not sure how to go about reactivating or extending this certificate... I am getting this message:
+The following certificate is about to expire on your server, (servername):+
+ +
+ Name: Default+
+ Expiration Date: 2009-12-16 18:34:33 -0500+
My question is, do I delete this Default cert and make a new one called the same name, or...?
Thanks in advance.
Message was edited by: ekalHi,
You can’t “edit” the existing cert anymore.
You have to delete your expired (or soon to expire) cert if the new cert will be for the same host name, which is likely else you’ll get an error about it already existing in the chain. Just go to the certificate window, press the + and select “create a certificate identity”. Use the fully qualified domain name that matches the service or purpose of the cert and host. This will create a new self signed cert that is good for one year by default. If you want to create a cert with a different expiration date (more than 365 days), you must check the box to override defaults or something alone those lines when you’re creating the cert. That part is pretty self explanatory.
I’m not sure if clients will have to “trust” the “new” self signed cert each time you do this. I don’t have time to test that as I was just looking at this during a meeting :P Not sure if you have to “repoint” your services to the new cert either but that’s fairly trivial even if you must do so. I assume you don’t have to though as long as the cert name remained the same and continues to match. -
Need help with master colection cs6 install
short is that I got a trial of master colection cs6- from the adobe website--it installed ok ish but said it couldn't install help files, or DW widgets- I also noticed photoshop was missing. Went back through told the installer this time to only install dream weaver and photoshop. It bombs after 5% with:
Exit Code: 11
Please see specific errors and warnings below for troubleshooting. For example, ERROR: DW037 ...
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s), 0 warning(s)
ERROR: DW037: Setup is already Running.
I don't see any such process at all- this is a pisser- this primarily for school work.
Help needed quick-asap- etc.I would start at the beginning. Reboot your system to stop any installers from running, then use this removal tool to uninstall all installed components: http://www.adobe.com/support/contact/cscleanertool.html
Then run setup again. -
Help with testing MultitouchInputMode without installing on phone
I am sure there is an easy answer that I am over looking. But would someone please help me.
I am programming with Flash 5.5. My app uses MultitouchInputMode.TOUCH_POINT and I would like to be able to test without having to create the ipa, move to iTunes and install on iPhone.
I tried to get Adobe Device Central to emulate the iPhone but could not seem to get it set up correctly to do this.
Can you point me to a specific tutorial or give a few steps in the right direction? Thank you for your help!
Grace & Peace,
jimDevice Central will not work for that use case. Although it does support emulation of multi-touch, it is only for browser based content.
You are going to have to install your .ipa on a device to properly test it.
Good luck,
Chris -
Need help with backup and clean install
Need Assistance with G5
Background
I'm an inexperienced Mac user with a G5, twin 2.0 gig processors and 1.5
gig ram. The OS is v10.3.6. It is the latest OS that will not slow down
internet (Safari/Mail) applications. Anything newer has really slowed internet applications down big time.
Current Problem
I've probably messed up my hard drive by switching back and forth
(archive/install) from newer to present OS. I now have corrupted data and
while my Mac is useable, several things do not work (disk utility, printing
and possibly more). I have a mixture of new and older versions of
these applications/utilities in my OS.
Going Forward
I believe I need to wipe out my hard drive and do a clean install. I also have a Mac mini which I can use (I believe) for backup via firewire.
Backup
Is everything I need to backup in the "User" folder? My spouse and I have
separate accounts and a shared account on the same Mac, with a total of 8.5 gig of data, mostly photo's and music. We want to save that and the usual preferences and favorites/bookmarks/addresses/email, etc. It would be nice if all I had to do was drag the user folder into the target drive.
I'd appreciate any assistance. I have more questions which I'll get to later, but I need to start somewhere.
Thanks all
Mac G5Backing up your Users folder will save everything in all the accounts on the computer including pictures, music, preferences, etc. as long as they were kept in that folder.
If you have File Vault turned on you should turn it off. The "correct" procedure for transferring to your Mac Mini is as follows:
1. Turn both computers off. Connect them together with a Firewire cable.
2. Boot the G5 into Target Disk Mode.
3. Then boot the Mac Mini normally. The G5's hard drive should be present on the Mini's Desktop.
4. Create a new folder on the Mini and name it something appropriate like G5 User Backup. Drag the Users folder on the G5 into this new folder on the Mini.
After the transfer completes you should verify that everything has been transferred and is there in the folder.
5. Drag the G5's hard drive icon from the Desktop to the Trash or CTRL-click on its icon and select Eject from the contextual menu.
6. Shutdown the G5 and remove the Firewire cable connecting the two computers.
You can now proceed to fix the G5. Because you are planning to erase the hard drive I would like to suggest you do an extended format to prep the hard drive properly for your restoration:
1. Boot from your Panther Installer Disk. After the installer loads select Disk Utility from the Installer menu.
2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
3. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
5. Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
You can then quit Disk Utility and return to the installer. Now proceed to reinstall OS X. Be sure you set up your accounts with the exact same usernames and passwords as you used before.
Once you have completed your reinstallation on the G5 you can restore your Users folder from the Mac Mini.
1. Shut down both computers. Connect them with a Firewire cable.
2. Boot the G5 into Target Disk Mode.
3. Boot the Mac Mini normally. G5's hard drive should appear on the Mini's Desktop.
4. Open a Finder window on the G5's hard drive and drag the Users folder to the Trash (don't delete yet.)
5. Now copy the saved Users folder from the Mac Mini to the G5 (only the Users folder, not the folder in which you stored it.)
6. Eject the G5's hard drive from the Mini's Desktop and shut down the G5.
7. Disconnect the Firewire cable.
Now restart the G5. If all worked well it should start up normally and you should find everything normal in your accounts.
There is one potential problem in all the above. All your account preferences are contained in the Users folder. If you have any corrupted preferences, they will still be corrupted and may continue to cause problems. If that's the case you may need to trash the /Home/Library/Preferences/ folder's contents. Hopefully, this won't be the case, but you should be aware of the possibility.
If eveything is working normally you can empty the Trash and delete the contents. Same on the Mac Mini. -
I purchased PS Elements and Premier Elements through Academic Superstore as a download on Aug. 8, 2014. I am installing on a MAC Book Pro 10.9.4, and have tried reinstalling 3 times. I also searched the error messages on support and could not find the error I am getting. Every time I am able to open the Elements file will open and work, but the Premier file has a window pop up that says: The Following disk images couldn't be opened: Image - PremiereElements_12_WWEFDJ.dmg Reason - image not recognized. Does anyone have a solution?
PremiereElements_12_WWEFDJ.dmg is the installation file. http://www.ofzenandcomputing.com/how-to-install-dmg-files-mac/
if you're seeing that message when trying to install pre 12, you have a corrupt download. redownload:
Downloads available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 12 | 11, 10 | 9, 8, 7
Photoshop Elements: 12 | 11, 10 | 9,8,7
Lightroom: 5.6| 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'. -
error window reads "Installer failed to initialize. File not found"
I tried using Adope Support Advisor but it could not find the problem.
ty for any help
richardHi richardimsjr,
Please follow the mentioned steps:
Windows: Navigate to C/Program Files(X86)/Common Files/Adobe and look for OOBE and Caps and rename both.
Mac: Library/Application Support/Adobe and look for OOBE and Caps and rename both.
Try to install the software. If still the same issue then try downloading CS5 from the direct link : http://prodesigntools.com/all-adobe-cs5-direct-download-links.html .
Kindly follow the very important instructions before download.
Regards,
Romit Sinha -
Help with Snow Leopard "Re" Install on Macbook Pro
I have a 2010 Macbook Pro. Upgraded to Lion. No problem. Last week, things got a little glitchy. A long download for iPhoto (among other things) would not work. I thought, why not upgrade to Mountain Lion. I purchase. Download... yet its not working, download corrupted. Tried again and again. Nothing. Tried to search some possible solutions, made it worse. System acted weird. Thought I should restart. Turned off. Would not start. Attempted safe mode start, bar goth 30% across screen, off. Put old Snow Leopard install CD in, booted from that. Started. Can't revert, but previously backed up important files, so I erase Mac HD. Pain in butt, but at least I'll start fresh, so I think. Every time I go to install from CD, it gets to the same 33 minutes to go and then and error happens saying it can't install the necessary support files. ??? What is going on? I'm prepared to scrap and replace the physical hard drive (not the first time, had a similar problem on my still going strong Mac Mini from years earlier. I just want to know if I'm doing something wrong, am I erasing wrong?
Suggestions appreciated greatly. I just want my laptop to work again!Well, you have a mess.
Connect the Apple 10.6.3 DVD.
Reboot MBP with option key held down.
Choose SnowLeopard DVD
When DVD boots into install, choose Disk Utility from main menu
Choose the MBP drive in Disk Utility
Partition, 1 partition, option GUID, HFS Plus, Journaled
In Disk Utility FIrst Aid, Verify the Drive
Exit Disk Utility, but not installer
Start the Install from the Snow Leopard DVD
On reboot, follow additional setup procedures.
Choose Software Update, to get 10.6.8 updater and other files.
Go get coffee.
When updates are done, backup your MBP with TimeMachine.
Done. -
Help with adobe fonts-buy, install error message
I would like to purchase a few fonts from adobe. How do I go about doing so and installing them? Would I need to update/upgrade them over the years? Each time I go to the font site and click on a font, I got an error message : 'you may not have everything you need to view certain sections of adobe.com. . . ..it also mentioned my browser may be '......earlier than IE 4 which is not supported.....' I have Win7 64 bit IE 10 so I don't know what's the problem. Any suggestion, anyone?
First of all, you cannot buy Adobe fonts, but rather you license them.
Assuming that you are referring to OpenType fonts, such fonts may be readily installed by either dragging and dropping the .otf font file into the Fonts Control Panel window or by right clicking on the .otf file and selecting the install function.
Although Adobe has done some minor updates to their fonts over the years, there have generally not been any available update or upgrade programs for them. The same is true for other major font vendors.
Windows 7 64-bit in conjunction with Internet Explorer 10 seems to work perfectly fine for me <http://www.adobe.com/type>.
Do you have Adobe Flash installed on your system? I believe that the website works without it, but that may be the problem.
- Dov -
Need help with an AU instrument install w/Key File
hey guys, i have a problem. i bought a new AU called Filterbank3 from Tone2. It uses a "Key File" which i have but i don't know where to "put" it. i don't think i have ever purchased and AU that has one. most are serial number type you know, when you open the plugin for the first time the screen pops up you type in the number and you are good to go. i have downloaded the plugin and it shows up in the availible list but when i try to open it it says "key file missing copy (the key file) to Library/audio units/plug ins. i have the key file as sent to me by the publisher and have done this but it doesn't seem to work. i really need some "hand holding" with this one. could anyone give me a walk through of what i should do? thanx-gospel
Yeah Sampleconstruct thats the FIRST thing i did. The plug-in is there and i put the keyfile in as well. Maybe i wasn't really clear in earlier posts the problem i am having is with the Key File copy protection. In addition to the plug in Componenet File there is a .cfg file (which i don't know what that is) and the t2k. file (which is the key file). I have put all of them in the what i think is the correct place. Since it ran off an installer it is in Program HD/Library/Audio/Plug-Ins and thats where i put the .cfg and t2k.files. I tried to create a sub folder for just Filterbank in the Components folder and put all the stuff in there but it didn't help. i even tried to set up Application Support Folder in Program HD/Library/Application Supportfor FilterBank this did not help either. I do not know what to do the keyfile at all. maybe Tone2 will get back to me. but as always any help from true Mac heads is appreciated.-gos
(to clarify i have 2 HDs one for programs and one for recording, also i have two plugin folders one manual one under users and one general where installers put stuff, i try not to move the individual plug-ins around )
Maybe you are looking for
-
I cannot click certain things on firefox and don't know how to fix it.
Okay so this problem started today. I know nothing about computers so a detailed response would be really helpful. When I go on any website, I can't click certain things. For example, on Facebook, I cannot click to update my status and I cannot click
-
Why is the date format tied to regional settings
i like my date/time format to be customized to my liking. for me, the only way i can do this is to set my region to be the uk, even though i live here in the us. i find this kind of annoying since this causes some weird things to happen in other apps
-
Join condition in an update statement
All, This is what I want to do update table1 set col1= (col2 from table 2) for each row. ie. Each row should be updated with the corresponding value in table 2. Please help. Let me know if more explanation is required.
-
BPC DeleteOlapDimFromCube error and Analysis Sevices error (-2147221421)
Attempted to process a dimension in BPC and encountered the following error message: -DeleteOlapDimFromCube : Item not found in collection -Dimension is locked because it is currently being used in a cube. Remove the dimension from the cube Went to A
-
echofon doesn't appear on my firefox eventhough I have installed it and have restarted my FF