Cybersecurity
DevOps Cloud
IT Operations Cloud
OpenText product name changes coming to the community soon! Learn more.
This step explains how to download Oracle Virtual Box and the installation steps for the Virtual box creation. VirtualBox is a free desktop hypervisor you can use to run VMs locally on your workstation.
Download the Virtual box from here.
By clicking on the “Windows hosts” in the link: Downloads – Oracle VM VirtualBox, VirtualBox-7.0.16-162802-Win is downloaded to the local machine.
Click “users” from the menu at left and click on add or create user and give the user details to be created.
3.Install and configure the AWS CLI
i. Download the AWS CLI from here => https://awscli.amazonaws.com/AWSCLIV2.msi
ii. Follow the on-screen instructions and install the cli
iii. Open a command prompt and type: aws configure
iv.
"Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "vmie.amazonaws.com" }, "Action": "sts:AssumeRole", "Condition": { "StringEquals":{ "sts:Externalid": "vmimport" } } } ] }Upon prompt, enter the details asked for VIZ: AccessKey ID and Secret Key. Default region can be left default.
Sample policy.json file =>
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": { "Service": "vmie.amazonaws.com" },
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals":{
"sts:Externalid": "vmimport"
}
}
}
]
}
aws iam create-role --role-name vmimport --assume-role-policy-document file://policy.json
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::?YOURBUCKETNAMEHERE?"
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::?YOURBUCKETNAMEHERE?/*"
]
},
{
"Effect": "Allow",
"Action":[
"ec2:ModifySnapshotAttribute",
"ec2:CopySnapshot",
"ec2:RegisterImage",
"ec2:Describe*"
],
"Resource": "*"
}
]
}
Create containers.json file and import the image:
[{
“Description”: “Windows 10 /11”,
“Format”: “vhd”,
“UserBucket”: {
“S3Bucket”: “put-your-bucket-name-here”,
“S3Key”: “put-your-ova-filename-here”
}
}]
aws ec2 import-image --description “Windows 10” --disk-containers file://containers.json
aws ec2 describe-import-image-tasks
14. Create an EC2 instance from the AMI by following the below steps:
Before you install SecureLogin, you must first extend the schema.
Schemas are used by AWS Managed Microsoft AD to structure and regulate the storage of directory data. With a valid LDAP Data Interchange Format (LDIF) file, schema extensions enable you to alter the schema of your AWS Managed Microsoft AD directory.
You must create an LDIF file before extending the schema. To create an LDIF file, perform the following:
#==================================================================
#
# This file contains SSO extensions for default ADAM schema.
# It should be imported with the following command:
# ldifde -i -f sso-schema.ldf -s server:port -b username domain password -k -j . -c "CN=Configuration,DC=opennsl,DC=com" "#ConfigurationNamingContext"
#
#==================================================================
# Attributes
dn: CN=protocom-SSO-Entries,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: ntdsschemaadd
objectClass: attributeSchema
cn: protocom-SSO-Entries
attributeID: 1.2.840.113556.1.8000.60.1
attributeSyntax: 2.5.5.10
isSingleValued: FALSE
adminDescription: Protocom-SSO-Entries
oMSyntax: 4
lDAPDisplayName: protocom-SSO-Entries
systemOnly: FALSE
dn: CN=protocom-SSO-Auth-Data,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: ntdsschemaadd
objectClass: attributeSchema
cn: protocom-SSO-Auth-Data
attributeID: 1.2.840.113556.1.8000.60.2
attributeSyntax: 2.5.5.10
isSingleValued: FALSE
adminDescription: protocom-SSO-Auth-Data
oMSyntax: 4
lDAPDisplayName: protocom-SSO-Auth-Data
systemOnly: FALSE
dn: CN=protocom-SSO-Security-Prefs,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: ntdsschemaadd
objectClass: attributeSchema
cn: protocom-SSO-Security-Prefs
attributeID: 1.2.840.113556.1.8000.60.3
attributeSyntax: 2.5.5.10
isSingleValued: FALSE
adminDescription: protocom-SSO-Security-Prefs
oMSyntax: 4
lDAPDisplayName: protocom-SSO-Security-Prefs
systemOnly: FALSE
dn: CN=protocom-SSO-Entries-Checksum,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: ntdsschemaadd
objectClass: attributeSchema
cn: protocom-SSO-Entries-Checksum
attributeID: 1.2.840.113556.1.8000.60.5
attributeSyntax: 2.5.5.10
isSingleValued: FALSE
adminDescription: protocom-SSO-Entries-Checksum
oMSyntax: 4
lDAPDisplayName: protocom-SSO-Entries-Checksum
systemOnly: FALSE
dn: CN=protocom-SSO-Security-Prefs-Checksum,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: ntdsschemaadd
objectClass: attributeSchema
cn: protocom-SSO-Security-Prefs-Checksum
attributeID: 1.2.840.113556.1.8000.60.6
attributeSyntax: 2.5.5.10
isSingleValued: FALSE
adminDescription: protocom-SSO-Security-Prefs-Checksum
oMSyntax: 4
lDAPDisplayName: protocom-SSO-Security-Prefs-Checksum
systemOnly: FALSE
dn: CN=protocom-SSO-Profile,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: ntdsschemaadd
objectClass: attributeSchema
cn: protocom-SSO-Profile
attributeID: 1.2.840.113556.1.8000.60.7
attributeSyntax: 2.5.5.1
isSingleValued: TRUE
adminDescription: protocom-SSO-Profile
oMSyntax: 127
lDAPDisplayName: protocom-SSO-Profile
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Classes
dn: CN=User,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: modify
add: mayContain
mayContain: protocom-SSO-Entries
mayContain: protocom-SSO-Auth-Data
mayContain: protocom-SSO-Security-Prefs
mayContain: protocom-SSO-Entries-Checksum
mayContain: protocom-SSO-Security-Prefs-Checksum
mayContain: protocom-SSO-Profile
-
dn: CN=Container,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: modify
add: mayContain
mayContain: protocom-SSO-Entries
mayContain: protocom-SSO-Auth-Data
mayContain: protocom-SSO-Security-Prefs
mayContain: protocom-SSO-Entries-Checksum
mayContain: protocom-SSO-Security-Prefs-Checksum
mayContain: protocom-SSO-Profile
-
dn: CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=opennsl,DC=com
changetype: modify
add: mayContain
mayContain: protocom-SSO-Entries
mayContain: protocom-SSO-Auth-Data
mayContain: protocom-SSO-Security-Prefs
mayContain: protocom-SSO-Entries-Checksum
mayContain: protocom-SSO-Security-Prefs-Checksum
mayContain: protocom-SSO-Profile
-
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
#==================================================================