Generating Certificate Signing Request using Management Console - csr

I am following
https://godaddy.com/help/windows-generate-csr-for-code-or-driver-signing-certificate-7282
guide to generate a CSR to request a code signing/software publishing certificate.
In management console when I Right-click Certificates, and then go to All Tasks > Advanced Operations > Create Custom Request & Click Next I don't find "Active Directory Enrollment Policy" to select.
I don't know Whether I need to download any template or generate some custom policy and how?
I am using windows 8 and my user account is not under any active directory domain nor I administer any active directory.
I am not sure if it is the right forum to ask this question. Pardon me, and direct me to the right forum, if it is not.

I ran into the same problem today and found the solution on MSDN. Try the following:
Instead of selecting Active Directory Enrollment Policy select Proceed without enrollment policy.
Click Next.
Select (No template) CNG key from the Template list.
Select PKCS #10 as the Request format.
Click Next.
Click the Details arrow and then the Properties button.
Enter a name for your certificate in Friendly name box on the General tab.
Click the Subject tab.
Under Subject name, select Common name from the Type list. Enter a common name in the Value box and click the Add button.
Repeat step 9 for Organizational unit, Locality, State and Country.
Click the Extensions tab.
Under Key usage select Digital signature and click the Add button.
Under Extended key usage select Code signing and click the Add button.
Under Basic constraints click the Enable this extension checkbox.
Click the Private key tab.
Under Key options select 2048 as the Key size.
Click the Make private key exportable checkbox.
Under Select hash algorithm select sha256 from the Hash Algorithm list.
Click OK.
So far it appears to be working. I was able to use my new code signing certificate to export a PFX file and successfully sign an executable.
Note: I chose sha256 instead of sha1 in step 18 because SHA-1 is deprecated.

Related

Is it possible to use RSA-512 instead of RSA-256 at Keycloak?

I guess Keycloak has predefined algorithms/Active Keys such like RSA256,AES and HS256?
Is it possible to use RSA512 instead of RSA256?
Thank you for your kind helps
You're right. It has some predefined algorithms and keys. But you can change their settings and force Keycloak to use RSA512. In order to do so, in your realm settings, go to the "Keys" tab and select "Providers" sub-tab. There you can click on the "Edit" button of the rsa-generated provider (that exists by default) and change its algorithm or key size to another value. In short:
Realm Settings > Keys > Providers > Edit (of rsa-generated row)
In the providers list, you have also the option to upload your own keystore with proper private key that is using the algorithm you prefer.
In addition to the rsa-generated provider settings, you may need to go to "Client details" -> "Advanced" -> "Fine grain OpenID Connect configuration" and specify RS512 in "Access token signature algorithm" and "ID token signature algorithm". Otherwise, Keycloak creates fallback-RS256 provider and keeps using RS256 protocol

Preventing user from modifying their name in Keycloak

In Keycloak, by default, users are able to change their first and last name in the account manager page. However, is it possible to disable this behavior?
Removing both fields in the theme results in those values not being sent and the form failing, and a hand-crafted POST request would defeat this method anyway.
I came across a similar problem and after reading this SO post, came to know that although you can disable/hide fields in ftl, you cannot disable form validation
For e.g I hid firstname field , but still cannot submit. Same was the result with disable as well:
I am not aware about disabling a particular field in some other way. However there is a workaround in which you can disable the entire account modification flow (Password can still be changed by Forgot Password option).
Bu default, account modification is enabled, but you can disable it for a particular realm by going to Realms -> Clients -> Account.
The result of this will be, the account page will be inaccessible:
You can remove the client role 'manage_account' for client 'account'.
In Keycloak, by default, users are able to change their first and last
name in the account manager page. Is it possible to disable this
behavior?
That can be done out-of-the-box (since Keycloak 14) by using the user profile functionality. First, the preview feature declarative-user-profile has to be enabled. For that start the server with:
--features=declarative-user-profile.
for the Quarkus version, or with
-Dkeycloak.profile.feature.declarative_user_profile=enabled
for the Wildfly version.
Bear in mind that:
Declarative User Profile is Technology Preview and is not fully
supported.
After starting the server with the aforementioned option, go to the Keycloak Admin Console and:
Go to the according Realm;
Go to the tab General;
Set User Profile enabled to ON
A new tab named User Profile (top right) will show up; click on it, and a set of configurable attributes will be shown.
Click on firstName, and then go to Permissions
In that section the permissions can be changed, accordingly. For example, if one sets Can user edit? to OFF, then when the user tries to change the firstName field in the account UI, that UI throws the following warning message:
The field First name is read only.
The same configuration can also be applied to the lastName attribute.
For the new Keycloak UI the workflow is exactly the same as the one I have just described. More information about the feature can be found in the official keycloak documentation (link)
You can use readonly property to disable email you can just change the following line:
<input type="text" class="form-control" id="email" name="email" readonly autofocus value="${(account.email!'')}"/>

Get user list from Taleo Connect Client

We're using the Recruiting Taleo (14A) module and I was wanting to pull a list of external and internal users (login, email, internal/external, etc) from Taleo Connect Client (12A).
Does anyone know how to do this? Or where to pull the data from? Thanks
I believe the entity you are looking for is Candidate. Taleo Connect Client has a built in template for exporting candidates, which includes usernames and email addresses.
Open Taleo Connect Client and select File → New → New Export Wizard.
Click the Product dropdown and select your Taleo product version.
In the list of entities, select Candidate.
Under the Template section, select Create export from a template.
Click the Template dropdown and select Standard Candidate export (CSV-ENTITY).
Click Finish to create your new export.
Note: The candidate export template for Recruiting Taleo 14A appears to be based on Recruiting 10.0.1. This can be fixed either by creating an export without a template, or by changing productCode="PRO1001" to productCode="RC1401" in the source file.
You can customize your export's projections and filters to suit your needs. Alternatively, if you don't want to start from a template, you can create a new export instead.
Once your export is saved, you can run it by creating a new configuration.
Open File → New → New Configuration Wizard.
Select Based on an export specification.
Click the three dots ... next to File and select your export.
Click Next to move to the next page.
Select your Taleo Endpoint, then click Finish.
Save & run your configuration.

How to start SQL Server from Batch file?

I'm trying to start SQL Server Express from command line using the following command:
net start MSSQL$SQLEXPRESS
But I get this error:
System error 5 has occurred.
Access is denied.
I have administrator privilege and my OS is Windows 7.
Thanks to #SamiKuhmonen my problem was solved.
I created batch file (named start sqlserver.bat) conatins the following command:
net start MSSQL$SQLEXPRESS
I created a shortcut to my batch file.
And run it as administrator like in this
screenshot
Run Registry Editor (RegEdit).
Navigate to HKEY_LOCAL_MACHINE.
Right click on HKEY_LOCAL_MACHINE, and select Permissions .
Click on the Advanced button.
In “Advanced Security Settings” dialog window, go to the Owner tab.
Select and highlight the currently logged on user name or Administrators group (if user is a member of Administrators” in the Change owner to: box.
Select the tick the check box for Replace owner on subcontainers and objects option, and click OK.
Back in “Permissions” dialog window, click on Add… button.
Enter everyone in the Enter the object names to select text box, and click on the Check Names button.
Hope it helps!!!
If there is error with the user ID entered, correct the error. If there is no error found, click the OK button.
Back in “Permissions” dialog window, select and highlight the newly added user name in Group or user names: section, and tick the checkbox for Allow access right next to Full Control in the Permissions for Everyone section.
simply create the batch file as eg.bat
and it's content as :start ssms

AX 2012 Labels in SSRS Unbound Parameter

I have a SSRS report in AX 2012 with a parameter, where Values is set to "Unbound Values" (Non-queried). In the popup for adding values, I have added a couple of lines with a value and a label like the following:
Value: MainAccountId,
Label: =Labels!#SYS135766
But when I preview (or run the report from AX after deploying), the text "Labels!#SYS135766" is shown as label in the dropdown on the dialog (instead of "Main account").
I have also tried with "Labels!#SYS135766" and "#SYS135766", but with no luck.
Does anyone know how to get the label ID translated to a text using unbound parameter values?
I know this is an old question, but still posting the possible answer hoping that it can help.
Cite from a post by Namukoa Isaac:
Reasons for the problem:
You have moved your AX service account from AX domain account from AX domain admin group
You have changed your SSRS service account password.
Solutions:
From the Start menu, point to All Programs, click the SQL Server folder, click theConfiguration Tools folder, and then click Reporting Services Configuration Manager.
In Reporting Services Configuration Manager click Connect and then click Service Account.
Set the password and then click Apply. The account and password should be the same as the Microsoft Dynamics AX proxy account.
System will ask you to backup your encrytion key, and then will some settings on the backhand.
Now Click the ServerName/MSSQLSERVER on the left top of the reporting server and then click Stop. Then click Start to restart the server. Always check with the SQL administrator and make sure no other users are connected to the server before you restart the server.