Create a settings.json file in the local project (by adding settings in the project) and configure is as follows.
The following extensions need to be installed in VS Code for the settings.json to work:
Create a settings.json file in the local project (by adding settings in the project) and configure is as follows.
The following extensions need to be installed in VS Code for the settings.json to work:
This is how you read configuration from the config file (applicationSettings.json).
C:\OpenSSL\
C:\OpenSSL\bin
set RANDFILE=C:\OpenSSL\demo\.rnd
set OPENSSL_CONF=C:\OpenSSL\bin\openssl.cfg
cd C:\OpenSSL\demo
openssl genrsa -out RootCA.key 4096
openssl req -new -x509 -days 7300 -key RootCA.key -out RootCA.crt
C:\OpenSSL\demo
C:\OpenSSL\demo
Create a file csr_detail.cnf using the details below in contoso folder:[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
[req_distinguished_name]
countryName = US
countryName_default = US
stateOrProvinceName = New York
stateOrProvinceName_default = NY
localityName = New York
localityName_default = New York
organizationalUnitName = Contoso Unit
organizationalUnitName_default = Contoso Unit
commonName = contoso.com
commonName_default = contoso.com
organizationName = Contoso
organizationName_default = Contoso
commonName_max = 64
[ v3_req ]
# Extensions to add to a certificate request
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = www.contoso.com
DNS.2 = files.contoso.com
IP.1 = 0.0.0.0
Edit it to match your needs.cd C:\OpenSSL\demo\contoso
openssl genrsa -out contoso.com.key 2048
openssl req -new -out contoso.com.csr -key contoso.com.key -config csr_details.cnf
You will be asked to input fields as:
Press enter in each field to add default value already set from CNF file.openssl x509 -req -days 3650 -in contoso.com.csr -CA ..\RootCA.crt -CAkey ..\RootCA.key -set_serial 01 -extensions v3_req -extfile csr_details.cnf -out contoso.com.crt
This certificate will be created as contoso.com.crt at location:C:\OpenSSL\demo\contoso
openssl pkcs12 -export -out contoso.com.pfx -inkey contoso.com.key -in contoso.com.crt
You will be asked to enter a password (at least 4 characters) as:mysql -h <your_hostname> -u root
UPDATE mysql.user SET Password=PASSWORD('Your new Password') WHERE User='root';
<XAMPP_INSTALLATION_FODLER>\phpMyAdmin\config.inc.php
$cfg['Servers'][$i]['auth_type'] = 'config';
to
$cfg['Servers'][$i]['auth_type'] = 'cookie';
and$cfg['Servers'][$i]['password'] = '';
to
$cfg['Servers'][$i]['password'] = 'new_password';