Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts

Thursday, July 10, 2014

Networks - basic commands (command line)


TRACERT :
tracert google.com - Gives you the network path used while you are reaching google.. This way, you can find out in which part of network, the issue lies, if your internet not working.

PING
Check the connection

TELNET
You can send some info to website and check if you have connection established.
You need to have Telnet switched on in your system.
telnet [host[port]]

Firewalls:
Check firewalls, incase of connection issues. May be you blocked the ip.

NAT:
Internal ip will be mapped to external ip in NAT.

Internal IP will be like 192.168.xxx.xxx

Friday, May 23, 2014

Domain name Controller (Active Directory)


Domain name controller:

On Microsoft Servers, a domain controller (DC) is a server that responds to security authentication requests (logging in, checking permissions, etc.) within the Windows Server domain.[1][not in citation given][2] A domain is a concept introduced in Windows NT whereby a user may be granted access to a number of computer resources with the use of a single username and password combination.  (source: Wikipedia)

In my company: We have 5 domain controllers (ADs) - one at each site (3 sites) and 2 virtual servers acting as domain controllers (or AD - Active directory) at our hosting partner site.

All clients (like our laptops) need to be logged in with userid/pwd registered at Domain Controller (AD - Active directory).  Printers are connected to AD as well.  A client can will be connected to any one of ADs (DNC) randomly.. In case of Internet failure,  local DNC (AD) is used to access Printers etc..  Userid and Pwds are generally catched at client level (Laptop level), so you can login to system from home(with out internet) as well.. but this is only valid for few days... You cant change pwd with out connecting to domain controller.

 

Tuesday, March 18, 2014

Certificates in SAP


STRUST is tcode to setup certificates in SAP

You can setup SSL certificate for your web service and then share the certificate details with third-party , so that to establish secure connection.  - Set for everything.. Import and add to Certif list

After the certificates are set , then do a restart of ICM(smicm->admin->ICM->Restart->Yes).

And to map certificate to user id, Go to SM30 -> view VUSREXTID, type=DN -> maintain user id for certificate and tick 'Activated'.  Also check if the userid has erquired authorizations.  'Min date' - better make it blank.. we faced some issues - as sometimes certificate valid date may go beyond that, and you forget to change this.

How to automatically select SAP client certificate in Google chrome
                        
http://scn.sap.com/blogs/ivazharov/2013/10/22/how-to-automatically-select-sap-client-certificate-in-google-chrome

Monday, March 17, 2014

SSL Certificates


http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/x64.html


What is SSL and what are Certificates?
The Secure Socket Layer protocol was created by Netscape to ensure secure transactions between web servers and browsers. The protocol uses a third party, a Certificate Authority (CA), to identify one end or both end of the transactions. This is in short how it works.



  1. A browser requests a secure page (usually https://).
  2. The web server sends its public key with its certificate.
  3. The browser checks that the certificate was issued by a trusted party (usually a trusted root CA), that the certificate is still valid and that the certificate is related to the site contacted.
  4. The browser then uses the public key, to encrypt a random symmetric encryption key and sends it to the server with the encrypted URL required as well as other encrypted http data.
  5. The web server decrypts the symmetric encryption key using its private key and uses the symmetric key to decrypt the URL and http data.
  6. The web server sends back the requested html document and http data encrypted with the symmetric key.
  7. The browser decrypts the http data and html document using the symmetric key and displays the information.

Several concepts have to be understood here.

Private Key/Public Key:

The Certificate: