Which keys are used in Client/Server Authentication?
Hi.
I am trying to understand how SunX509 algorithm works in a TLS context. When Server or Client authentication is done, which keys of the keystore are used?
I mean, when you set up your KeyStore instance, it is loaded a whole KeyStore from the filesystem, which has a lot of keys to be used. Are they all tried in order to find the key that authenticates the Client/Server, and when a key that works is found means that Client/Server is authenticated? Or a concrete key with a specific alias is used?
Do you know a doc or something similar where i can see this explanation? I haven't found this matter in JSSE API User's Guide nor in JSSE Javadocs.
Thanks!
The alias that is chosen is arbitrary and depends upon the order in which the aliases are returned via a hashtable enumeration. If you want to make sure you're using a particular aliasn you must write your own key manager, take a look at the X509KeyManager interface with methods such chooseClientAlias(), chooseServerAlias(), ...
Similar Messages
-
How to find out which BADIs are used
Hi Experts,
Is there any tcode where I can give the transaction or program name and find out which BADIs are used in that transaction.
thanks
sankarDear Sankar,
You can first check available BAdis and then go to SE19 to see what all have been implemented.
Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
REPORT ZTEST.
TABLES: TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA: FIELD1(30).
DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS: P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA: WA_TADIR TYPE TADIR.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Alternatively, you can do the following:
1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
ull get a list of Enhancements related to that Componene....
5. Choose which ever enhancement will suit ur business need ..
6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
For a user exit......
Finding whether there is any User Exit or not for tcode VA42
1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
Hope this will help.
Regards,
Naveen. -
Hi there,
How to find out which users are using SharePoint Designer to make changes in SharePoint 2010 site?
Thanks.You need to enable auditing on SharePoint server and it will let you know, if someone makes any critical changes for the same.
Please walk through this informative KB to enable auditing on SharePoint :https://support.office.com/en-za/article/Configure-audit-settings-for-a-site-collection-f5a346d0-ee0f-4412-a5e6-d9b5abaa1012
Here is one more resource :
https://support.office.com/en-in/article/View-audit-log-reports-4293e8d5-4e7d-4201-b8ac-c8e63a100131
Moreover, if you wish to audit such critical changes automatically, you may consider on this comprehensive application (http://www.sharepointauditing.com/) that helps to track every changes on SharePoint into
real time and provides the captured data at granular level. -
Which TABLEs are used in RWB ADAPTER ENGINE ?
Hello everyone,
Runtime Work Bench -> message monitoring
we can hier select message from
Messages of component: Integration Server from Database
Which TABLEs are used to query?
Thx in advance
Best Regards
Yaninghello Seshagiri,
do you know? in RWB--> Message Monitoring after selection i can get many columns.
for example:
End-to-End-Informationen
Engine
Status -
> as System Error or successful
Start
Ende
Sender-Partner
Sender-Service
Sender-Interface
Empfänger-Partner
Empfänger-Service
Empfänger-Interface
which table contains this Info. column Status ?
Thank you
regards
yaning -
Which ports are used by LMS 4.2.5 Software Center
Hi everybody!
we are trying to download device updates and packages via the software center of lms 4.2.5. but get the attached error msg.
Which ports are used for the download (for firewall configuration)
I can't find the used ports for this function in the install guide.....
I am very thankful for any suggestions!
Edit:
here is the log output:
[ Sun Jan 04 00:30:01 CET 2015 ] ERROR [CcoDownloadAdapter : getXmlFileList] : failed to connect to Cisco.com:RespCode=302, RespMsg=Found
[ Sun Jan 04 00:30:01 CET 2015 ] INFO [SecurityHandler : getCSProxyHost] : No proxy Host configured
[ Sun Jan 04 00:30:01 CET 2015 ] INFO [SecurityHandler : getCSProxyPort] : No proxy port confgured
[ Sun Jan 04 00:30:01 CET 2015 ] ERROR [CcoDownloadAdapter : getXmlFileList] : failed to connect to Cisco.com:RespCode=302, RespMsg=Found
[ Mon Jan 05 00:30:01 CET 2015 ] ERROR [CcoDownloadAdapter : getXmlFileList] : failed to connect to Cisco.com:RespCode=302, RespMsg=Found
[ Mon Jan 05 00:30:01 CET 2015 ] INFO [SecurityHandler : getCSProxyHost] : No proxy Host configured
[ Mon Jan 05 00:30:01 CET 2015 ] INFO [SecurityHandler : getCSProxyPort] : No proxy port confgured
[ Mon Jan 05 00:30:01 CET 2015 ] ERROR [CcoDownloadAdapter : getXmlFileList] : failed to connect to Cisco.com:RespCode=302, RespMsg=Found
there is no proxy in use, so the is none configured :)Hi,
Looks like you are encountering this BUG
CSCur85172 Unable to installing the device packages from cisco.com using LMS Server
Try this to resolve the issue::
Stop Daemon Manager
2. Change the protocol 'http' to 'https' for the below URL's in vds.properties
file located under /NMSROOT/lib/classpath/com/cisco/nm/xms/vds/.
NGCcoScript=http://tools.cisco.com/software/catalog/swcs/softwaremetadata
NGCcoImageScript=http://tools.cisco.com/software/catalog/swcs/image
TO
NGCcoScript=https://tools.cisco.com/software/catalog/swcs/softwaremetadata
NGCcoImageScript=https://tools.cisco.com/software/catalog/swcs/image
3. Start the Daemon Manager.
Thanks-
Afroz
****Ratings Encourages Contributors **** -
Hi Team,
We are using SharePoint 2010 server with service pack 1, we want to remove/delete old user profiles, access & site from server
is there any script or feature available using that we can only remove dactivated/deleted/old user profiles, access & site.
Thanks
NPratikTake a look at Metalogix ControlPoint, which will compare user accounts on SharePoint to Active Directory and remove accounts that no longer exist in AD (or are disabled).
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
How can i determine which devices are used at the moment?
Hi all,
I am designing an interface with LabVIEW for uing agilent devices. My work colleagues will use this interface. I want to determine which devices are used at the moment and if I determine used device, i will add automatically device names to interface's main vi. So all my work colleagues can see on the program which devices are used by another colleague. This devices are connected with GPIB. İ want to learn is there any function on Instrument I/O palette.
Thanks,
Omer
Solved!
Go to Solution.Hi Omer,
so those devices are connected to the PC with a GPIB connection. Will your collegues run several DAQ programs at the same time?
GPIB-devices being controlled by PC don't have a "in use"-signal. They wait for commands, execute them and send an answer. When you start to control them using two programs they may respond to both programs, mixing up settings/measurement values and so on.
That being said: In MAX you can see all devices connected to your GPIB port. You could scan the GPIB port using VISA commands in your program. You might even try to access a certain device by it's VISA alias. I really don't know if you will get a "device nopt available" error message when that VISA alias is in use by a different program - but you might do a quick test on your own…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How to determine which processes are using a module?
I want to find out which processes are using a kernel module.
However this info is shown neither with ``lsmod'' nor in
/sys/modules/<mod_name>/.
It's needed to reload certain modules which are acting buggy,
in a bash script. Right now I just keep a list of processes which
use the module and try to kill'em all, not exactly a beautiful
solution.
To work around it I compiled a kernel with
``CONFIG_MODULE_FORCE_UNLOAD=y'', however actually
trying to unload anything with this results in an unstable system.
Suggestions?After successfully syncing the configuration database I ran the configuration compliance job once more, however with the same (misleading) results. Cross-checking the configuration reveals that none of the devices marked as compliant are actually having the "ip helper-address" configured.
Maybe it is something wrong with the input data I specified for the compliance template (ref step 1-6 in my first post)?
Or maybe the Compliance Jobs arent the best ways to determine whether or not my devices are having the "ip helper-address" configuration defined? -
How to identify Which ports are using in RAC setup?
Hi,
how to identify Which ports are using in RAC setup?
Thnaks,[Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]
-
We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means
Hello,
Did you means that you use the Windows Azure Virtual Machine DNS name as the server name in the Reporting Server Web Services URL?
For example:
Report server:http://uebi.cloudapp.net/reportserver
Report manager:http://uebi.cloudapp.net/reports
If you want to connect to Report Manager on the virtual machine from a remote computer, you should create a virtual machine TCP Endpoint and open the port in the virtual machine’s firewall. By default, the report server listens for HTTP requests
on port 80.
Reference:http://msdn.microsoft.com/en-us/library/jj992719.aspx#bkmk_ssrs_connect_2_remote_RM
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How to find which datasource are using tables AFRU ,CAUFV and AUFM
*how to find which datasource are using tables AFRU ,CAUFV and AUFM*
Hi,
You can enter your table names in SE11 transaction and click "Display" and again click "Where -Used-List". Then it will show all the places where these tables are used(Datasources)
Hope this helps.....
Regards,
SUman -
On my keyboard, a few of my keys are using incorrect letters or symbols, but when I replaced the keyboard that did;t fix it. Help.
The the box check in System Preferences - Keyboard - Use F1, F2 ......... if so uncheck the box.
-
Which tables are used for Quality Efficiency calculation of OEE report ?
Hello,
We're confirming OEE report behavior.
I'd like to know OEE report and ME table specification.
Which tables are used for Quality Efficiency calculation of OEE report ?
According to I know, the definition of Quality Efficiency is (complete qty) / (start qty).
For this calculation, does OEE report just use qty_started and qty_completed of PRODUCTION_LOG table?
If any other tables/columns/logic are implemented, your information is appreciated.
Best Regards,
Takahiro Uesugihi
Go to BSIS & BSAS
BKPF
SKA1
SKAT
SKB1
Regards
Roobal -
Which ports are used by oracle datbase and management agent other than 1521
Hi,
Which ports are used by oracle datbase and management agent other than 1521 and the default port of management agent?
Regards,
Rjiv.Check Port Numbers and Protocols of Oracle Components and also check your portlist.ini in $ORACLE_HOME/install directory.
-
Which tables are used...
Hello
I have a script, which makes a lot of things on the database. Is there a tool or a script, that I can see which tables are used by the script?
Thanks for the help.
rogerStreet wrote:
Thanks for the answers. We know, what the scripts do. But we need a list from all tables, that we can export this tables, its for a migration!Yes, but we don't ... and the response depends on what kind of script it is, and what it does.
For example, if the "script" is a sequence of pure DML commands which would be run from sqlplus then I would let the PL/SQL compiler do the work by creating a procedure containing the script text, compile it, query user_dependencies and then drop the procedue.
If it contains DDL then that might work as well (not near a computer with Oracle on it so I can't check whether a procedure containing a create table statement would show that as a dependency or not ... )
The script could already be a procedure / package, in whcih case just query user dependencies, or it could be a shell script which invokes all manner of strange things, in which case you're probably on your own.
Maybe I'm being naive, but couldn't you just run the thing in an empty schema (or even a fresh instance - a local XE for example), and then look at what's appeared?
Dave
Edited by: Dave Rabone on 10/01/2012 03:16
finger trouble ...
Maybe you are looking for
-
HP c4480 All-in-one - scanner not working (Mac)
I recently bought a new computer (Macbook Pro) which has Yosemiti. On both Yosemiti and Mavericks operating systems, when I scan a document, the document is black with white lines appearing through the black about every inch. The printer works. Wh
-
I am not able to figure out how to access this information from my desktop, is this possilbe? Thanks
-
How was this page made? [subject edited by moderator]
Hi, I am new to making websites so please forgive me my basic questions. I have seen a site that I really like and am wondering how it was made, and whether it can be made with DW. It is called africatravelresource.com. Could some one explain to me w
-
Tablespace creation problem in RAC using raw device.
Hi , If i created a tablespace with the .dbf extension i am able to create the tablespace. on other hand if i use .dbf extension it;s failing.. can anyone help me out why it is happening?? here is the code... Oracle9i Enterprise Edition Release 9.2.0
-
Moving Exchange 2003 mailboxes to Exchange 2010
Hello I have a new domain with Exchange 2010 server. I plan to join users to this domain but would like to know the best plan in moving the existing Exchange 2003 mailboxes over. Can I just import the PST files into their new Exhaneg 2010 mailboxes o