Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
0 replies on “Cap”
Thanks for sharing the script.
However I am getting error when I am using same script to generate SSL certi.
PS F:\Solr\Downloads> .\GenerateSolrSSL.ps1
Generating JKS keystore…
The expression after & in a pipeline element produced an object that was not valid. It must result in a command
name, a script block, or a CommandInfo object.
At F:\Solr\Downloads\GenerateSolrSSL.ps1:50 char:3
+ & $keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass $Keyst …
+ CategoryInfo : InvalidOperation: (:) , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : BadExpression
Sorry to heard that and the late reply!, mm looks like it doesn’t accept the & in line 50 any way probably you can remove it. if you see this is only for concatenate Write-Host with Get-Command probably check the path of your Java SDK ‘C:\Program Files\Java\jdk1.8.0_291\bin\keytool.exe’ this is for my machine but probably you have another one for yours.
Write-Host Generating JKS keystore…
& $keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass $KeystorePassword -storepass $KeystorePassword -validity 9999 -keystore $KeystoreFile -ext SAN=DNS:$SolrDomain,IP:127.0.0.1 -dname “CN=$SolrDomain, OU=Enginnering, O=Verndale, L=Quito, ST=Pichincha, C=EC”
Does this also work if a datasource is specified, but someone has unpublished/not published the datasource item? And does it work if using Glass in the controller rendering? (I’d expect that’s a yes.)
Yes!, it does. It works with Glass Mapper also. It validates the rendering item. If you have some logic that abstracts the rendering for you can add the filter at the class definition level.
Super useful add-on for SC forms!
Visual Studio does not recognize “GeoIpOptions” or “IpAddress.Parse”; are these in assemblies you haven’t mentioned?
Thanks for the observation. I updated the information. If you are working on SC 10 https://rmcdigital.com/sitecore/sitecore-geo-ip-services-sc-10-2/ I updated the implementation. Regards, Roberto Armas